-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·45 lines (40 loc) · 1.53 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
#!/usr/bin/env python
import os.path
from setuptools import find_packages, setup
# Evaluate version module without importing parsy, which could have undesirable
# effects.
version_file = os.path.join(os.path.dirname(__file__), "src", "parsy", "version.py")
namespace = {}
exec(compile(open(version_file, "rb").read(), version_file, "exec"), globals(), namespace)
version = namespace["__version__"]
readme = open("README.rst").read()
setup(
name="parsy",
version=version,
description="easy-to-use parser combinators, for parsing in pure Python",
long_description=readme,
author="Jeanine Adkisson",
author_email="[email protected]",
maintainer="Luke Plant",
maintainer_email="[email protected]",
url="https://github.com/python-parsy/parsy",
license="MIT",
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Compilers",
"Topic :: Software Development :: Interpreters",
"Topic :: Text Processing",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
keywords="parser parsers parsing monad combinators",
packages=find_packages("src"),
package_dir={"": "src"},
)