Modify ↓
#9387 closed defect (duplicate)
Impossible to bootstrap trac since r9763
Reported by: | Felix Schwarz | Owned by: | |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | general | Version: | 0.12dev |
Severity: | blocker | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Since r9763 I'm unable to run any commands through setup.py (e.g. 'python setup.py install'):
$ python setup.py egg_info Traceback (most recent call last): File "setup.py", line 33, in <module> from trac.util.dist import get_l10n_js_cmdclass File ".../trac/__init__.py", line 14, in <module> __version__ = __import__('pkg_resources').get_distribution('Trac').version File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 292, in get_distribution if isinstance(dist,Requirement): dist = get_provider(dist) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 176, in get_provider return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0] File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: Trac
Obviously the import 'get_l10n_js_cmdclass' triggers the code in trac/init.py. However if you don't have any metadata, this will fail because there is not setuptools distribution metadata.
To reproduce, please delete Trac.egg-info before running any setup.py command.
Attachments (0)
Change History (2)
comment:1 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Milestone: | 0.12 |
---|
Note:
See TracTickets
for help on using tickets.
ah, sorry duplicate if #9374