Skip to content
Snippets Groups Projects
Commit e6a53d00ecec authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

setup.py fixes

parent cac65e37cf6f
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python #!/usr/bin/env python
# pylint: disable-msg=W0404,W0622,W0704,W0613,W0152 # pylint: disable=W0404,W0622,W0704,W0613
# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
...@@ -142,8 +142,6 @@ ...@@ -142,8 +142,6 @@
# install-layout option was introduced in 2.5.3-1~exp1 # install-layout option was introduced in 2.5.3-1~exp1
elif sys.version_info < (2, 5, 4) and '--install-layout=deb' in sys.argv: elif sys.version_info < (2, 5, 4) and '--install-layout=deb' in sys.argv:
sys.argv.remove('--install-layout=deb') sys.argv.remove('--install-layout=deb')
kwargs['package_dir'] = {modname : '.'}
packages = [modname] + get_packages(os.getcwd(), modname)
if USE_SETUPTOOLS and install_requires: if USE_SETUPTOOLS and install_requires:
kwargs['install_requires'] = install_requires kwargs['install_requires'] = install_requires
kwargs['dependency_links'] = dependency_links kwargs['dependency_links'] = dependency_links
...@@ -147,7 +145,6 @@ ...@@ -147,7 +145,6 @@
if USE_SETUPTOOLS and install_requires: if USE_SETUPTOOLS and install_requires:
kwargs['install_requires'] = install_requires kwargs['install_requires'] = install_requires
kwargs['dependency_links'] = dependency_links kwargs['dependency_links'] = dependency_links
kwargs['packages'] = packages
return setup(name = distname, return setup(name = distname,
version = version, version = version,
license = license, license = license,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment