-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (41 loc) · 1.43 KB
/
setup.py
File metadata and controls
52 lines (41 loc) · 1.43 KB
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
# -*- coding: utf-8 -*-
"""setup.py: setuptools control."""
import re
from setuptools import setup, find_packages
projectName="shop_provision"
scriptFile="%s/%s.py" % (projectName,projectName)
description="Setuptools setup.py for shop_provision."
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="Bo Laurent",
author_email="bo.laurent@canonical.com",
url="",
install_requires=[
],
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'],
)