-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
46 lines (42 loc) · 1.51 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
"""setup.py
Upload to PyPI, Thx to: http://peterdowns.com/posts/first-time-with-pypi.html
python3 setup.py sdist
twine upload --repository pypitest dist/pyleri-x.x.x.tar.gz
twine upload --repository pypi dist/pyleri-x.x.x.tar.gz
"""
from setuptools import setup
from pyleri import __version__ as version
try:
with open('README.md', 'r') as f:
long_description = f.read()
except IOError:
long_description = ''
setup(
name='pyleri',
packages=['pyleri'],
version=version,
description='Python Left-Right Parser',
long_description=long_description,
long_description_content_type='text/markdown',
author='Jeroen van der Heijden',
author_email='[email protected]',
url='https://github.com/cesbit/pyleri',
download_url=(
'https://github.com/cesbit/'
'pyleri/tarball/{}'.format(version)),
keywords=['parser', 'grammar', 'autocompletion'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic'
],
)