forked from getmillipede/millipede-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (46 loc) · 1.54 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
61
62
63
64
65
66
67
"""Millipede installation script
https://github.com/getmillipede/millipede-python
"""
from setuptools import setup, find_packages
from codecs import open as copen
import os
MODULE_NAME = 'millipede'
def get_long_description():
""" Retrieve the long description from DESCRIPTION.rst """
here = os.path.abspath(os.path.dirname(__file__))
with copen(os.path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as description:
return description.read()
def get_version():
""" Retrieve version information from the package """
return __import__('millipede').__version__
setup(
name=MODULE_NAME,
version=get_version(),
description="THE millipede generator",
long_description=get_long_description(),
url="https://github.com/getmillipede/millipede-python",
author="Millipede Team",
author_email="[email protected]",
license="BSD",
extras_require={
'http': ['requests']
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Religion',
'Topic :: Religion',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
test_suite="tests",
keywords="millipede",
entry_points={
'console_scripts': [
'millipede=millipede:main',
],
},
)