|
1 | | -from setuptools import find_packages, setup |
| 1 | +from setuptools import setup |
2 | 2 |
|
3 | | -with open("README.md", encoding="UTF-8") as f: |
4 | | - long_description = f.read() |
5 | | - |
6 | | - |
7 | | -def local_scheme(version): |
8 | | - """Skip the local version (eg. +xyz of 0.6.1.dev4+gdf99fe2) |
9 | | - to be able to upload to Test PyPI""" |
10 | | - return "" |
11 | | - |
12 | | - |
13 | | -setup( |
14 | | - name="humanize", |
15 | | - description="Python humanize utilities", |
16 | | - long_description=long_description, |
17 | | - long_description_content_type="text/markdown", |
18 | | - author="Jason Moiron", |
19 | | - author_email="jmoiron@jmoiron.net", |
20 | | - maintainer="Hugo van Kemenade", |
21 | | - url="https://github.com/jmoiron/humanize", |
22 | | - project_urls={ |
23 | | - "Source": "https://github.com/jmoiron/humanize", |
24 | | - "Issue tracker": "https://github.com/jmoiron/humanize/issues", |
25 | | - "Funding": "https://tidelift.com/subscription/pkg/pypi-humanize?" |
26 | | - "utm_source=pypi-humanize&utm_medium=pypi", |
27 | | - }, |
28 | | - license="MIT", |
29 | | - keywords="humanize time size", |
30 | | - packages=find_packages(where="src"), |
31 | | - package_dir={"": "src"}, |
32 | | - include_package_data=True, |
33 | | - zip_safe=False, |
34 | | - use_scm_version={"local_scheme": local_scheme}, |
35 | | - install_requires=["setuptools"], # pkg_resources |
36 | | - setup_requires=["setuptools_scm"], |
37 | | - extras_require={"tests": ["freezegun", "pytest", "pytest-cov"]}, |
38 | | - python_requires=">=3.6", |
39 | | - # Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers |
40 | | - classifiers=[ |
41 | | - "Development Status :: 5 - Production/Stable", |
42 | | - "Intended Audience :: Developers", |
43 | | - "License :: OSI Approved :: MIT License", |
44 | | - "Operating System :: OS Independent", |
45 | | - "Programming Language :: Python", |
46 | | - "Programming Language :: Python :: 3", |
47 | | - "Programming Language :: Python :: 3.6", |
48 | | - "Programming Language :: Python :: 3.7", |
49 | | - "Programming Language :: Python :: 3.8", |
50 | | - "Programming Language :: Python :: 3.9", |
51 | | - "Programming Language :: Python :: 3 :: Only", |
52 | | - "Programming Language :: Python :: Implementation :: CPython", |
53 | | - "Programming Language :: Python :: Implementation :: PyPy", |
54 | | - "Topic :: Text Processing", |
55 | | - "Topic :: Text Processing :: General", |
56 | | - ], |
57 | | -) |
| 3 | +setup() |
0 commit comments