You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is partly a refactoring, reducing logic duplication and
slightly decreasing overall length of the code that reads values
from files. However, it does make two small behavioral changes:
- In addition to the VERSION file for which this was already the
case, requirements files and the readme are also taken relative
to the directory that contains the setup.py file, rather than
relative to the current directory if different. Supporting
reading the readme and dependencies realtive to a different
directory doesn't seem intended, and could lead to confusion in
some cases.
- The VERSION file is now read entirely and whitespace stripped,
rather than reading just the first line. The VERSION file should
always contain exactly one line, and this logic is simpler.
This changes code for the reading of metadata only. It does not
make any changes to the version stamping code.
0 commit comments