/
setup.py
46 lines (36 loc) · 1.49 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
import os
from setuptools import setup
with open('README.md') as readme_file:
README = readme_file.read().strip()
PROJECT = README.strip('#').split('\n')[0].strip().split()[0].lower()
DESCRIPTION = README.split('\n')[2]
with open('%s/VERSION' % PROJECT) as version_file:
VERSION = str(version_file.read().strip())
with open('requirements.txt') as reqs_file:
REQS = reqs_file.read()
with open('entrypoints.conf') as ep_file:
ENTRYPOINTS = ep_file.read()
setup(name=PROJECT,
version=VERSION,
description=DESCRIPTION,
long_description=README,
author='Luke Arno',
author_email='luke.arno@gmail.com',
url='http://github.com/lukearno/runlog',
license='MIT',
packages=['runlog'],
include_package_data=True,
install_requires=REQS,
entry_points=ENTRYPOINTS,
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities'])