Mercurial > p > roundup > code
diff setup.py @ 4763:57b9f2848cf8
Move demo.py to roundup.demo where it appears when installed.
This removes part of distutils building magic and brings
Roundup sources closer to the state how it works when
installed.
Previously I've introduced a bug where I've made "demo"
tracker home configurable and by default created in the dir
the demo.py script, which became directory of roundup.demo
module after installation. This will be fixed in the next
commit. Simplicity matters.
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Thu, 21 Feb 2013 18:57:05 +0300 |
| parents | d2f58accb405 |
| children | f61bd780892e |
line wrap: on
line diff
--- a/setup.py Thu Feb 21 11:24:21 2013 +0300 +++ b/setup.py Thu Feb 21 18:57:05 2013 +0300 @@ -21,7 +21,6 @@ from roundup.dist.command.build_doc import build_doc from roundup.dist.command.build_scripts import build_scripts -from roundup.dist.command.build_py import build_py from roundup.dist.command.build import build, list_message_files from roundup.dist.command.bdist_rpm import bdist_rpm from roundup.dist.command.install_lib import install_lib @@ -69,7 +68,6 @@ 'roundup.backends', 'roundup.scripts', ] - py_modules = ['roundup.demo',] # build list of scripts from their implementation modules scripts = [scriptname(f) for f in glob('roundup/scripts/[!_]*.py')] @@ -143,13 +141,11 @@ # Override certain command classes with our own ones cmdclass= {'build_doc': build_doc, 'build_scripts': build_scripts, - 'build_py': build_py, 'build': build, 'bdist_rpm': bdist_rpm, 'install_lib': install_lib, }, packages=packages, - py_modules=py_modules, scripts=scripts, data_files=data_files)
