-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (40 loc) · 1.13 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
from setuptools import setup, find_packages
# Package metadata
NAME = 'pearley'
VERSION = '0.1.0'
DESCRIPTION = 'Basic Python Earley Parser'
AUTHOR = 'Paul Arelt'
EMAIL = '[email protected]'
URL = 'https://github.com/Kingcitaldo125/PEarley/tree/master'
LICENSE = 'Apache'
REQUIRES = [
'pytest==6.2.4'
]
# Package classifiers (See: https://pypi.org/classifiers/)
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
# Read the README file for long description
with open('README.md', 'r', encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
# Setup configuration
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author=AUTHOR,
author_email=EMAIL,
url=URL,
license=LICENSE,
packages=find_packages(),
install_requires=REQUIRES,
classifiers=CLASSIFIERS,
python_requires='>=3.7',
)