-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
24 lines (22 loc) · 799 Bytes
/
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
import re
from setuptools import setup
_versionRE = re.compile(r'__version__\s*=\s*\"([^\"]+)\"')
# read the version number for the settings file
with open('Lib/glyphConstruction.py', "r") as settings:
code = settings.read()
found = _versionRE.search(code)
assert found is not None, "glyphConstruction __version__ not found"
__version__ = found.group(1)
setup(
name='glyphConstruction',
version=__version__,
author='Frederik Berlaen',
author_email='[email protected]',
url='https://github.com/typemytype/GlyphConstruction',
license='LICENSE.txt',
description='Letter shape description language',
long_description='Letter shape description language',
install_requires=[],
py_modules=["glyphConstruction"],
package_dir={'': 'Lib'}
)