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
|
#!/usr/bin/env python
import sys
from setuptools import setup, find_packages
from io import open
needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name="ufoProcessor",
use_scm_version={"write_to": "Lib/ufoProcessor/_version.py"},
description="Read, write and generate UFOs with designspace data.",
long_description=long_description,
long_description_content_type='text/markdown',
author="Erik van Blokland",
author_email="erik@letterror.com",
url="https://github.com/LettError/ufoProcessor",
keywords='font development tools',
license="MIT",
packages=find_packages("Lib"),
package_dir={"": "Lib"},
python_requires='>=2.7',
setup_requires=wheel + ["setuptools_scm"],
install_requires=[
"defcon[lxml]>=0.6.0",
"fontMath>=0.4.9",
"fontParts>=0.8.2",
"fontTools[ufo,lxml]>=3.32.0",
"mutatorMath>=2.1.2",
],
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",
],
)
|