fonttools/setup.py

61 lines
2.1 KiB
Python
Raw Normal View History

2015-10-05 18:14:16 -07:00
# Copyright 2015 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup, find_packages
import sys
2015-10-01 17:09:28 -07:00
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()
2015-10-01 17:09:28 -07:00
setup(
name='cu2qu',
version="1.1.2.dev0",
description='Cubic-to-quadratic bezier curve conversion',
author="James Godfrey-Kittle, Behdad Esfahbod",
author_email="jamesgk@google.com",
url="https://github.com/googlei18n",
license="Apache License, Version 2.0",
long_description=long_description,
packages=find_packages('Lib'),
package_dir={'': 'Lib'},
include_package_data=True,
setup_requires=pytest_runner + wheel,
tests_require=[
'pytest>=2.8',
],
install_requires=[
"fonttools>=3.1.2",
"ufoLib>=2.0.0",
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Multimedia :: Graphics :: Editors :: Vector-Based',
'Topic :: Software Development :: Libraries :: Python Modules',
],
2015-10-01 17:09:28 -07:00
)