Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
email
Commits
04cfb4415564
Commit
62915eb9
authored
Jul 07, 2010
by
Sylvain Thénault
Browse files
[cube dist] fix setup.py, we get the cube also installed in lib/python that may crash
parent
af0bee5495e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
04cfb441
...
...
@@ -142,12 +142,9 @@ def install(**kwargs):
# 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
kwargs
[
'packages'
]
=
packages
return
setup
(
name
=
distname
,
version
=
version
,
license
=
license
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment