Switch to PEP517 standard for builds (#887)
* Sync setup.cfg with requirements.txt * Include tests in PyPI tarballs And exclude them from setuptools * Set version number only once Switch to PEP517 standard (pyproject.toml) for buildspull/899/head
parent
d099b46336
commit
08b16f5a0c
@ -1,8 +1,7 @@
|
||||
import os
|
||||
import setuptools
|
||||
|
||||
optional_dev_tag = ''
|
||||
if os.getenv('DEV_BUILD'):
|
||||
optional_dev_tag = '.dev' + os.getenv('DEV_BUILD')
|
||||
|
||||
setuptools.setup(version='0.8.0' + optional_dev_tag)
|
||||
__version__ = '0.8.0' + optional_dev_tag
|
@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["setuptools", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
Loading…
Reference in New Issue