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

fix setup.py to avoid junk in site-packages

parent 29bd90c73f19
No related branches found
No related tags found
No related merge requests found
......@@ -142,8 +142,6 @@
# 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:
sys.argv.remove('--install-layout=deb')
kwargs['package_dir'] = {modname : '.'}
packages = [modname] + get_packages(os.getcwd(), modname)
if USE_SETUPTOOLS and install_requires:
kwargs['install_requires'] = install_requires
kwargs['dependency_links'] = dependency_links
......@@ -147,7 +145,6 @@
if USE_SETUPTOOLS and install_requires:
kwargs['install_requires'] = install_requires
kwargs['dependency_links'] = dependency_links
kwargs['packages'] = packages
return setup(name = distname,
version = version,
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