-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·43 lines (39 loc) · 1.46 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
#!/usr/bin/python
import os
from setuptools import setup
from io import open
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
PKG_ROOT = 'lib'
bundle = os.environ.get('GRCOMPILER_BUNDLE')
if bundle:
import grcompiler
PKG_DATA = grcompiler.build(PKG_ROOT, bundle)
else:
PKG_DATA = {}
setup( name = 'graide',
version = '1.1',
description = 'Graphite Integrated Development Environment',
author = 'Martin Hosken',
author_email = 'martin_hosken@sil.org',
license = 'LGPL-2.1+',
url = 'https://github.com/silnrsi/graide',
package_dir = {'' : PKG_ROOT},
packages = ['graide', 'graide/makegdl'],
package_data = PKG_DATA,
install_requires = ['future', 'configparser', 'QtPy', 'fontTools', 'freetype-py'],
# graphite2 is not in pypi so can't require it
scripts = ['graide'],
zip_safe = False,
long_description = long_description,
long_description_content_type = 'text/markdown',
classifiers = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3'
]
)