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
cubicweb
Commits
ea5299828d68
Commit
29862a9e
authored
Jun 08, 2016
by
Denis Laxalde
Browse files
[pkg] Make it clearer which entries of __pkginfo__ are actually used
parent
f79c6894381f
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
ea529982
...
...
@@ -56,12 +56,11 @@ for entry in ("__depends__",): # "__recommends__"):
install_requires
=
[(
"%s %s"
%
(
d
,
v
and
v
or
""
)).
strip
()
for
d
,
v
in
requires
.
items
()]
distname
=
__pkginfo__
.
get
(
'distname'
,
modname
)
scripts
=
__pkginfo__
.
get
(
'scripts'
,
())
include_dirs
=
__pkginfo__
.
get
(
'include_dirs'
,
())
data_files
=
__pkginfo__
.
get
(
'data_files'
,
None
)
ext_modules
=
__pkginfo__
.
get
(
'ext_modules'
,
None
)
package_data
=
__pkginfo__
.
get
(
'package_data'
,
{})
distname
=
__pkginfo__
[
'distname'
]
scripts
=
__pkginfo__
[
'scripts'
]
include_dirs
=
__pkginfo__
[
'include_dirs'
]
data_files
=
__pkginfo__
[
'data_files'
]
package_data
=
__pkginfo__
[
'package_data'
]
BASE_BLACKLIST
=
(
'CVS'
,
'dist'
,
'build'
,
'__buildlog'
)
IGNORED_EXTENSIONS
=
(
'.pyc'
,
'.pyo'
,
'.elc'
)
...
...
@@ -211,7 +210,6 @@ def install(**kwargs):
description
=
description
,
long_description
=
long_description
,
author
=
author
,
author_email
=
author_email
,
scripts
=
ensure_scripts
(
scripts
),
data_files
=
data_files
,
ext_modules
=
ext_modules
,
cmdclass
=
{
'install_lib'
:
MyInstallLib
,
'install_data'
:
MyInstallData
},
**
kwargs
...
...
Write
Preview
Markdown
is supported
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