Last change
on this file was
1675589,
checked in by Zooko O'Whielacronx <zooko@…>, at 2012-03-13T02:42:54Z
|
don't run versioneer at runtime
don't run versioneer whenever importing pycryptopp at runtime, instead depend on a fixed version number in _version.py.
This means the _version.py can be stale between when you change something in git (including dirtying the working directory tree) and when you next run "python setup.py update_version" or any of the setup.py commands which setup.cfg links to update_version.
This is less functionality, but there was at least one bug in the more functional version that I don't want to work on right now (why wasn't the _version.py inside the ./build/ directory not getting updated on "python setup.py install"), and also I'm a bit uncomfortable with all of that Python code and that interaction with the system (invoking git) at runtime.
|
-
Property mode set to
100644
|
File size:
557 bytes
|
Line | |
---|
1 | |
---|
2 | /build/ |
---|
3 | /dist/ |
---|
4 | |
---|
5 | # extraversion.h is generated at build time, and never checked in |
---|
6 | /src-cryptopp/extraversion.h |
---|
7 | /src/pycryptopp/_version.py |
---|
8 | |
---|
9 | # the .egg-info is mostly generated during 'setup.py bdist_egg' .. |
---|
10 | /pycryptopp.egg-info/ |
---|
11 | # .. but stdeb.cfg is persistent, and tracked in version-control |
---|
12 | !/pycryptopp.egg-info/stdeb.cfg |
---|
13 | |
---|
14 | # if setup.py needs to install plugins from eggs to satisfy setup_requires: |
---|
15 | /setuptools_darcs*.egg |
---|
16 | /darcsver*.egg |
---|
17 | /pyutil*.egg |
---|
18 | |
---|
19 | # if ez_setup.py needs to build setuptools, that goes here |
---|
20 | /setuptools-*.egg |
---|
21 | /ez_setup.pyc |
---|
22 | /MANIFEST |
---|
Note: See
TracBrowser
for help on using the repository browser.