2011-12-30 16:08:32 +00:00
|
|
|
#! /usr/bin/env python
|
|
|
|
|
|
|
|
import os, sys
|
2015-11-04 19:38:47 +00:00
|
|
|
|
|
|
|
try:
|
|
|
|
from setuptools import setup
|
|
|
|
extra_kwargs = {
|
|
|
|
"test_suite": "ufoLib.test"
|
|
|
|
}
|
|
|
|
except ImportError:
|
|
|
|
from distutils.core import setup
|
|
|
|
extra_kwargs = {}
|
2015-11-02 14:43:17 +00:00
|
|
|
|
2011-12-30 16:08:32 +00:00
|
|
|
try:
|
|
|
|
import fontTools
|
|
|
|
except ImportError:
|
2015-11-08 11:11:11 +01:00
|
|
|
print("*** Warning: ufoLib needs FontTools for some operations, see:")
|
|
|
|
print(" https://github.com/behdad/fonttools")
|
2011-12-30 16:08:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
long_description = """\
|
2015-11-08 11:11:11 +01:00
|
|
|
ufoLib reads and writes Unified Font Object (UFO) files. UFO is a file format
|
|
|
|
that stores fonts source files.
|
2011-12-30 16:08:32 +00:00
|
|
|
"""
|
|
|
|
|
|
|
|
setup(
|
2015-11-08 11:11:11 +01:00
|
|
|
name = "ufoLib",
|
2011-12-30 16:08:32 +00:00
|
|
|
version = "1.2",
|
2015-11-08 11:11:11 +01:00
|
|
|
description = "A low-level UFO reader and writer.",
|
2011-12-30 16:08:32 +00:00
|
|
|
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",
|
2015-11-08 11:11:11 +01:00
|
|
|
url = "http://unifiedfontobject.org",
|
2011-12-30 16:08:32 +00:00
|
|
|
license = "OpenSource, BSD-style",
|
|
|
|
platforms = ["Any"],
|
|
|
|
long_description = long_description,
|
2015-11-04 08:58:27 +00:00
|
|
|
|
2011-12-30 16:08:32 +00:00
|
|
|
packages = [
|
2015-11-04 08:58:27 +00:00
|
|
|
"ufoLib",
|
2011-12-30 16:08:32 +00:00
|
|
|
],
|
|
|
|
package_dir = {'': 'Lib'},
|
2015-11-04 19:32:05 +00:00
|
|
|
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",
|
2015-11-04 19:38:47 +00:00
|
|
|
],
|
|
|
|
**extra_kwargs
|
2011-12-30 16:08:32 +00:00
|
|
|
)
|