-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
50 lines (45 loc) · 1.48 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
#!/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(),
'long_description_content_type': 'text/markdown',
'license': 'MIT',
'version': '1.8.0',
'install_requires': install_requires,
'extras_require': {
'shaper': [
"youseedee >=0.3.0",
"babelfont >=3.0.0a1",
"dataclasses ; python_version < '3.7'"
]
},
'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,
'zip_safe': False
}
if __name__ == '__main__':
setup(**config)