Skip to content

Fix: must also add VERSION.txt to source distribution

username-removed-1183847 requested to merge pull/3/missing-version into master

Created by: RKrahl

The source distribution does not work. setup.py reads VERSION.txt, therefore this file must also be added to the source distribution. If you start from the source tree as created by python setup.py sdist (or from the one downloaded from PyPI), you'll get:

$ python setup.py build
Traceback (most recent call last):
  File "setup.py", line 8, in <module>
    with open('VERSION.txt') as fd:
IOError: [Errno 2] No such file or directory: 'VERSION.txt'

This PR fixes that.

Merge request reports

Loading