Tasks #1623
site.py hack does not work with recent setuptools versions
Status: | Resolved | Start date: | 09/10/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Wienke | % Done: | 100% | |
Category: | python | |||
Target version: | Robotics Service Bus - rsb-0.13 |
Description
Traceback (most recent call last): File "<string>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 916, in resource_string self, resource_name File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1189, in get_resource_string return self._get(self._fn(self.module_path, resource_name)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1316, in _get stream = open(path, 'rb') IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/setuptools/site-patch.py'
This unfortunately leaves an empty site.py in the target directory, which confuses python.
Related issues
Associated revisions
Do not use site.py generation as it is buggy so far
refs #1623
Do not use site.py generation as it is buggy so far
refs #1623
History
#1 Updated by J. Wienke over 9 years ago
I have asked over at Stackoverflow how to create such a site.py correctly but did not receive an answer so far.
#2 Updated by J. Wienke over 9 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
I will comment the hack out as long as it is not clear how to solve this.
#3 Updated by J. Wienke about 8 years ago
- Target version changed from rsb-0.9 to rsb-0.11
#4 Updated by J. Wienke over 7 years ago
- Target version changed from rsb-0.11 to rsb-0.13
#5 Updated by J. Wienke over 7 years ago
I will remove this hack completely. There are a lot of changes to python packaging upstream and we will never be able to mirror them appropriately in RST.
#6 Updated by J. Wienke over 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 10 to 100
Applied in changeset rst-proto|9caf24116e85378b386221f54cc43b9474166fc3.