This repository has been archived by the owner on Mar 17, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathsetup.py
executable file
·75 lines (66 loc) · 2.13 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#! /usr/bin/env python
import os, sys
from setuptools import setup, Extension
try:
# load py2exe distutils extension, if available
import py2exe
except ImportError:
pass
try:
import numpy
except ImportError:
print "*** Warning: FontTools needs the numpy library for some operations, see:"
print " http://numpy.scipy.org/"
try:
import fontTools
except ImportError:
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 = "[email protected]",
maintainer = "Just van Rossum, Tal Leming, Erik van Blokland",
maintainer_email = "[email protected]",
url = "http://robofab.com/",
license = "OpenSource, BSD-style",
platforms = ["Any"],
long_description = long_description,
packages = [
"robofab",
"robofab.interface",
"robofab.interface.mac",
"robofab.interface.win",
"robofab.interface.all",
"robofab.misc",
"robofab.objects",
"robofab.path",
"robofab.pens",
"robofab.tools",
],
package_dir = {'': 'Lib'},
#extra_path = 'FontTools',
**classifiers
)