1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#!/usr/bin/env python
"""Installs PyDispatcher using distutils (or setuptools/distribute)
Run:
python setup.py install
to install the package from the source archive.
"""
import sys, os
from distutils.core import setup
if __name__ == "__main__":
### Now the actual set up call
setup(
name="PyDispatcher",
package_dir={
"pydispatch": "pydispatch",
},
packages=[
"pydispatch",
],
options={
"sdist": {
"use_defaults": 0,
"force_manifest": 1,
"formats": ["gztar"],
},
"bdist_rpm": {
"group": "Libraries/Python",
"provides": "python-dispatcher",
"requires": "python",
},
},
)
|