fonttools/setup.py

73 lines
2.0 KiB
Python
Raw Normal View History

#! /usr/bin/env python
import os, sys
2015-11-02 14:43:17 +00:00
from distutils.core import Extension
from setuptools import setup
try:
# load py2exe distutils extension, if available
import py2exe
except ImportError:
pass
try:
import fontTools
except ImportError:
2015-10-08 17:22:55 +02:00
print("*** Warning: RoboFab needs FontTools for some operations, see:")
print(" http://sourceforge.net/projects/fonttools/")
if sys.version_info > (2, 3, 0, 'alpha', 1):
# Trove classifiers for PyPI
classifiers = {"classifiers": [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Multimedia :: Graphics",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
]}
else:
classifiers = {}
long_description = """\
RoboFab is a Python library with objects that deal with data usually associated with fonts and type design. RoboFab reads and writes UFO font files and works in any Python 2.3 (and 2.2.1), 2.4. 2.5, 2.6, 2.7. The RoboFab code for FontLab works in in FontLab 4.6, FontLab Studio 5.04, 5.1 and hopefully up.
"""
setup(
name = "robofab",
version = "1.2",
description = "Tools to manipulate font sources",
author = "Just van Rossum, Tal Leming, Erik van Blokland, others",
author_email = "info@robofab.com",
maintainer = "Just van Rossum, Tal Leming, Erik van Blokland",
maintainer_email = "info@robofab.com",
url = "http://robofab.com/",
license = "OpenSource, BSD-style",
platforms = ["Any"],
long_description = long_description,
2015-11-04 08:58:27 +00:00
packages = [
"robofab",
"robofab.interface",
"robofab.interface.mac",
"robofab.interface.win",
"robofab.interface.all",
"robofab.misc",
"robofab.objects",
"robofab.pens",
"robofab.tools",
2015-11-04 08:58:27 +00:00
"ufoLib",
],
package_dir = {'': 'Lib'},
2015-11-02 14:43:17 +00:00
test_suite="ufoLib.test",
#extra_path = 'FontTools',
**classifiers
)