-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (39 loc) · 1.31 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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup, find_packages
projectName="elasticngrams"
scriptFile="%s/%s.py" % (projectName,projectName)
description="Setuptools setup.py for elasticngrams."
version = re.search(
'^__version__\s*=\s*"(.*)"',
open(scriptFile).read(),
re.M
).group(1)
with open("README.rst", "rb") as f:
long_descr = f.read().decode("utf-8")
setup(
name = projectName,
packages = find_packages(),
#add required packages to install_requires list
#install_requires=["package","package2"]
entry_points = {
"console_scripts": ['%s = %s.%s:main' % (projectName,projectName,projectName)]
},
version = version,
description = description,
long_description = long_descr,
author = "Your Name",
author_email = "Your Email",
url = "http://Project.url.here",
license='MIT',
#list of classifiers: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 1 - Planning',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3 :: Only'],
)