forked from simoncozens/fontFeatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (36 loc) · 1.23 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
import glob
thelibFolder = os.path.dirname(os.path.realpath(__file__))
requirementPath = thelibFolder + '/requirements.txt'
install_requires = []
if os.path.isfile(requirementPath):
with open(requirementPath) as f:
install_requires = f.read().splitlines()
scripts = glob.glob("bin/*")
config = {
'name': 'fontFeatures',
'author': 'Simon Cozens',
'author_email': '[email protected]',
'url': 'https://github.com/simoncozens/fontFeatures',
'description': 'Python library for manipulating OpenType font features',
'long_description': open('README.md', 'r').read(),
'license': 'MIT',
'version': '1.0.3',
'install_requires': install_requires,
'classifiers': [
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta"
],
'package_dir': {'fontFeatures': 'fontFeatures'},
'packages': find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
,
'scripts': scripts
}
if __name__ == '__main__':
setup(**config)