|
12 | 12 | from setuptools import setup, find_packages |
13 | 13 |
|
14 | 14 |
|
| 15 | +def local_scheme(version): |
| 16 | + """ |
| 17 | + Skip the local version (eg. +xyz of 0.6.1.dev4+gdf99fe2) |
| 18 | + to be able to upload to Test PyPI |
| 19 | + """ |
| 20 | + return "" |
| 21 | + |
| 22 | + |
15 | 23 | if __name__ == "__main__": |
16 | 24 | HERE = path.abspath(path.dirname(__file__)) |
17 | 25 | with io.open(path.join(HERE, "README.rst"), encoding="utf-8") as readme: |
|
28 | 36 | keywords=["sieve", "managesieve", "parser", "client"], |
29 | 37 | install_requires=[], |
30 | 38 | setup_requires=["setuptools_scm"], |
31 | | - use_scm_version=True, |
| 39 | + use_scm_version={"local_scheme": local_scheme}, |
32 | 40 | classifiers=[ |
33 | 41 | "Programming Language :: Python", |
34 | | - "Development Status :: 4 - Beta", |
| 42 | + "Development Status :: 5 - Production/Stable", |
35 | 43 | "Intended Audience :: Developers", |
36 | 44 | "License :: OSI Approved :: MIT License", |
37 | 45 | "Operating System :: OS Independent", |
38 | 46 | "Topic :: Software Development :: Libraries :: Python Modules", |
39 | | - "Topic :: Communications :: Email :: Filters" |
| 47 | + "Topic :: Communications :: Email :: Filters", |
40 | 48 | ], |
41 | | - long_description=LONG_DESCRIPTION |
| 49 | + python_requires=">=3.7", |
| 50 | + long_description=LONG_DESCRIPTION, |
42 | 51 | ) |
0 commit comments