Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Waldmann 98796a2f0d
replace flake8 by ruff 2023-09-04 22:15:42 +02:00
Thomas Waldmann 3d311143f3 do not use version_tuple placeholder in setuptools_scm template
that would require setuptools_scm>=5.0.0 but some dists do not have that yet.

also, we do not use the version_tuple from _version.py, so it is not required anyway.

forward port of #7024.
2022-09-17 13:37:38 +02:00
Thomas Waldmann b9cdeaaa20 _version.py: remove trailing blank, add LF at EOF 2022-08-06 23:19:34 +02:00
Thomas Waldmann dfbf638a5b Merge branch 'master' into borg2 2022-07-23 21:21:41 +02:00
Gianfranco Costamagna a92c156e05 Fix pyproject.toml to create a fixed _version.py file, compatible with both old and new setuptools_scm version (see: #6875) 2022-07-18 18:56:59 +02:00
Andrey Bienkowski adb1c36215 black integration 2022-07-06 14:55:40 +02:00
Thomas Waldmann f930fe3f26 relax Cython requirement
0.27 was broken, but it will install the latest release anyway now.
2022-04-07 19:12:19 +02:00
Thomas Waldmann 9642ace953 require/configure setuptools_scm via pyproject.toml 2022-04-07 19:11:15 +02:00
Andrey Bienkowski 30c145ec53 pyproject.toml: running setup.py also requires Cython 2022-02-25 08:17:34 +03:00
Andrey Bienkowski 4df8255e62 Add pkgconfig build requirement
setup_crypto.crypto_ext_kwargs needs pkgconfig to find OpenSSL
2022-02-25 08:04:45 +03:00
Andrey Bienkowski 6cbb7d650f Add pyproject.toml
This blocks #6264 because black configuration is stored in pyproject.toml.
See <https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format>
I copied this from <https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use>
2022-02-25 06:29:01 +03:00