-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·60 lines (44 loc) · 1.39 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
import codecs
import os
# import sys
#try:
from setuptools import setup
#except:
# from distutils.core import setup
def read(fname):
"""
define read method to read the long description.
It will be shown in PyPI"""
return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()
NAME = "pyparsing_ext"
DESCRIPTION = "A cool tool for parsing. It is an extension of pyparsing"
LONG_DESCRIPTION = read("README.md")
KEYWORDS = "Parsing, Text Processing"
AUTHOR = "William Song"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/Freakwill/pyparsing_ext"
VERSION = "1.1.1" # update the version before uploading
LICENSE = "MIT"
setup(
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
classifiers = [
'License :: Public Domain', # Public Domain
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Mathematics',
'Natural Language :: English'
],
keywords = KEYWORDS,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
url = URL,
license = LICENSE,
# packages = PACKAGES,
include_package_data=True,
zip_safe=True,
)