From c1876477c01c0b010e43f4d8bb73e41cdce89ecb Mon Sep 17 00:00:00 2001 From: david reid Date: Sat, 21 Mar 2015 14:31:23 +0000 Subject: [PATCH] First pass at a setup script with (hopefully) the right pieces in place. Add a version, starting at 0.1. --- setup.py | 36 ++++++++++++++++++++++++++++++++++++ zttf/__init__.py | 1 + 2 files changed, 37 insertions(+) create mode 100644 setup.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..3025ce5 --- /dev/null +++ b/setup.py @@ -0,0 +1,36 @@ +from setuptools import setup +from os import path +from zttf import __version__ + + +here = path.abspath(path.dirname(__file__)) + +# Get the long description from the relevant file +with open(path.join(here, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + + +setup( + name='zttf', + version=__version__, + description='A TrueType font parser', + long_description=long_description, + url='https://github.com/zathras777/zttf', + author='david reid', + author_email='zathrasorama@gmail.com', + license='Apache20', + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Text Processing :: Fonts', + 'License :: OSI Approved :: Apache Software License', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', + ], + keywords='fonts truetype ttf', + packages=['zttf'] +) \ No newline at end of file diff --git a/zttf/__init__.py b/zttf/__init__.py index e69de29..5e3048b 100644 --- a/zttf/__init__.py +++ b/zttf/__init__.py @@ -0,0 +1 @@ +__version__ = '0.1' \ No newline at end of file