| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
from setuptools import setup |
| 19 |
|
| 20 |
|
| 21 |
with open("README.md") as f: |
| 22 |
long_description = f.read() |
| 23 |
|
| 24 |
setup( |
| 25 |
name="axisregistry", |
| 26 |
use_scm_version={"write_to": "Lib/axisregistry/_version.py"}, |
| 27 |
url="https://github.com/googlefonts/axisregistry/", |
| 28 |
description="A python API to access data from the Google Fonts variable fonts axis registry.", |
| 29 |
long_description=long_description, |
| 30 |
long_description_content_type="text/markdown", |
| 31 |
author=("Felipe Sanches"), |
| 32 |
author_email="[email protected]", |
| 33 |
package_dir={"": "Lib"}, |
| 34 |
packages=["axisregistry"], |
| 35 |
package_data={"axisregistry": ["data/*.textproto"]}, |
| 36 |
zip_safe=False, |
| 37 |
classifiers=[ |
| 38 |
"Intended Audience :: Developers", |
| 39 |
"Topic :: Text Processing :: Fonts", |
| 40 |
"License :: OSI Approved :: Apache Software License", |
| 41 |
"Operating System :: OS Independent", |
| 42 |
"Programming Language :: Python :: 3", |
| 43 |
], |
| 44 |
python_requires=">=3.7", |
| 45 |
setup_requires=[ |
| 46 |
"setuptools>=61.2", |
| 47 |
"setuptools_scm[toml]>=6.2", |
| 48 |
], |
| 49 |
install_requires=[ |
| 50 |
"protobuf>=3.19.4, <4", |
| 51 |
"fonttools", |
| 52 |
"importlib_resources ; python_version < '3.10'", |
| 53 |
], |
| 54 |
) |