Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#166 closed defect (fixed)

Unable to install Bitten on new systems

Reported by: sam.steele@… Owned by: cmlenz
Priority: major Milestone: 0.6
Component: General Version: dev
Keywords: Cc:
Operating System: Windows

Description

The change to find the version number from setuptools [472] prevents setup.py from running on a system that has not installed a previous version of Bitten. Setuptools is unable to locate Bitten's version nummber when it's not yet installed.

python reports:

Cprojects\bitten\trunk>c:\Python25\python.exe setup.py install
Traceback (most recent call last):
  File "setup.py", line 16, in <module>
    from bitten.util.testrunner import unittest
  File "C:\projects\bitten\trunk\bitten\__init__.py", line 13, in <module>
    __version__ = __import__('pkg_resources').get_distribution('Bitten').version
  File "c:\Python25\lib\site-packages\setuptools-0.6c6-py2.5.egg\pkg_resources.py", line 270, in get_distribution
  File "c:\Python25\lib\site-packages\setuptools-0.6c6-py2.5.egg\pkg_resources.py", line 156, in get_provider
  File "c:\Python25\lib\site-packages\setuptools-0.6c6-py2.5.egg\pkg_resources.py", line 626, in require
  File "c:\Python25\lib\site-packages\setuptools-0.6c6-py2.5.egg\pkg_resources.py", line 524, in resolve
pkg_resources.DistributionNotFound: Bitten

Attachments (0)

Change History (1)

comment:1 Changed 17 years ago by cmlenz

  • Milestone set to 0.6
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [474].

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain cmlenz.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.