-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
60 lines (55 loc) · 2.03 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
import sys
from setuptools import find_packages, setup
needs_pytest = {"pytest", "test"}.intersection(sys.argv)
pytest_runner = ["pytest_runner"] if needs_pytest else []
needs_wheel = {"bdist_wheel"}.intersection(sys.argv)
wheel = ["wheel"] if needs_wheel else []
with open("README.rst", "r") as f:
long_description = f.read()
setup(
name="ufo2ft",
use_scm_version={"write_to": "Lib/ufo2ft/_version.py"},
author="Tal Leming, James Godfrey-Kittle",
author_email="tal@typesupply.com",
maintainer="Cosimo Lupo",
maintainer_email="cosimo@anthrotype.com",
description="A bridge between UFOs and FontTools.",
long_description=long_description,
url="https://github.com/googlefonts/ufo2ft",
package_dir={"": "Lib"},
packages=find_packages("Lib"),
include_package_data=True,
license="MIT",
setup_requires=pytest_runner + wheel + ["setuptools_scm"],
tests_require=["pytest>=2.8"],
install_requires=[
"fonttools[ufo]>=4.52.0",
"cffsubr>=0.3.0",
"booleanOperations>=0.9.0",
"fontMath>=0.9.3",
],
extras_require={
"pathops": ["skia-pathops>=0.8.0"],
"cffsubr": [], # keep empty for backward compat
"compreffor": ["compreffor>=0.5.5"],
},
python_requires=">=3.8",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)