do not calculate requirements for data/**.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-distutils-extra |
Fix Released
|
High
|
Martin Pitt |
Bug Description
In quickly package, data/ contains some templates (which can be part of python code, C, shell one, or just images/document), which have just to be copied verbatim. (here is an ubuntu-project template, with a dash)
The real code is in bin/ and quickly/ module.
When I try ./setup.py sdist, I get:
ERROR: Python module internal.
ERROR: Python module tools not found
ERROR: Python module project_name not found
ERROR: Python module configurationha
ERROR: Python module tools not found
ERROR: Python module bzrbinding not found
ERROR: Python module configurationha
ERROR: Python module internal.
Traceback (most recent call last):
File "./setup.py", line 35, in <module>
<email address hidden>',
File "/usr/lib/
distutils.
File "/usr/lib/
_setup_
File "/usr/lib/
getattr(
File "/usr/lib/
distutils.
File "/usr/lib/
raise ValueError("illegal provides specification: %r" % value)
ValueError: illegal provides specification: 'data.templates
So, two strange things:
- it does not try to copy verbatim the data/ path
- it does not handle modules in quickly/ (ERROR)
the reproducer is there:
lp:~didrocks/+junk/testcase-distutils-extras
Related branches
Changed in python-distutils-extra: | |
assignee: | nobody → Martin Pitt (pitti) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in python-distutils-extra: | |
status: | In Progress → New |
Changed in python-distutils-extra: | |
status: | New → In Progress |
summary: |
- Can't package everything in data/ + do not calculate requirements for data/**.py |
r111