Skip to content

Commit 243d781

Browse files
authored
Merge pull request #22 from jaqx0r/reaadme
Update README and tidy build files.
2 parents 79ec936 + 48d2795 commit 243d781

File tree

2 files changed

+4
-136
lines changed

2 files changed

+4
-136
lines changed

README.md

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,9 @@ while 1:
3232
```
3333

3434

35-
To build, you need the distutils package, availible from
36-
http://www.python.org/sigs/distutils-sig/download.html (it comes with
37-
Python 2.0). Run `python setup.py build` to build and then as root run
38-
`python setup.py install`.
39-
40-
if you've installed your mad stuff someplace weird you may need to run
41-
the config_unix.py script, passing it a `--prefix` value to create a
42-
`setup.cfg` file with the correct include and link dirs:
43-
44-
```shell
45-
# python config_unix.py --prefix /usr/local
46-
# python setup.py build
47-
# python setup.py install --prefix /usr/local
48-
```
49-
50-
Remember to make sure `/usr/local/python/site-packages/` is in your
51-
Python search path in that example.
35+
The latest release is available for download at https://pypi.org/project/pymad/
36+
or via `pip install pymad`. They're replicated on GitHub in the Releases section.
5237

53-
Alternately, you can write `setup.cfg` yourself. E.g.:
38+
To build locally, the usual `python -m build` or `python -m pip install .` works.
5439

55-
[build_ext]
56-
library_dirs=/opt/mad/lib
57-
include_dirs=/opt/mad/include
58-
libraries=name_of_library_mad_might_depend_on
40+
The tests require manual interaction (because you want to listen to the decoded output) and requires PyAO on Linux.

config_unix.py

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)