Commit Graph

9 Commits

Author SHA1 Message Date
dgelessus
b595456a05 Switch back to using attr directive in setup.cfg version
As of setuptools 46.4.0, this extracts the attribute value statically
using the ast module, if possible. This allows it to work properly even
if the attribute is stored in a file that cannot be imported at setup
time (e. g. because of dependencies that might not be installed yet).
2020-07-18 13:13:19 +02:00
dgelessus
7c77c4ef20 Prepare setup.py/.cfg for additional import-time dependencies
Reading the version number using attr: rsrcfork.__version__ will no
longer work properly if rsrcfork has non-stdlib dependencies at import
time, because setuptools needs to be able to import rsrcfork and read
the version number before the dependencies are installed.

As a workaround, our setup.py now manually parses the version number
from rsrcfork/__init__.py using the ast module.
2020-04-03 22:32:10 +02:00
dgelessus
9dfb33f436 Convert setup.py setup(...) options to declarative setup.cfg 2019-07-13 11:35:30 +02:00
dgelessus
cbc55fcbc2 Refactor rsrcfork.py into a package 2018-02-12 22:48:46 +01:00
dgelessus
bc4bad678a Bump version to 1.1.2 2018-02-01 11:06:22 +01:00
dgelessus
3d802c570f Add python_requires to setup.py 2017-07-14 18:01:38 +02:00
dgelessus
f6e424674d Bump version to 1.1.1 2017-07-14 17:56:07 +02:00
dgelessus
d6de63e17b Add a command-line interface for reading resources 2016-12-26 23:44:49 +01:00
dgelessus
5fc5f26542 Add setup.py 2016-12-24 17:40:56 +01:00