-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (42 loc) · 1.41 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
import re
import os
from setuptools import setup, find_packages
try:
with open('requirements.txt') as f:
requirements = f.read().splitlines()
except FileNotFoundError:
requirements = []
try:
with open(os.path.join(os.path.dirname(__file__), 'kesh', '__init__.py')) as f:
version = re.search(r"__version__ = '(.*)'", f.read()).group(1)
except FileNotFoundError:
version = 'test'
classifiers = [
'Development Status :: 1 - Planning',
'Operating System :: OS Independent',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3 :: Only',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Internet',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
]
setup(
name='kesh',
packages=find_packages(),
url='http://sopython.com',
license='BSD',
author='Keiron Pizzey',
author_email='[email protected]',
description='Database program for accessing Stack Overflow information.',
install_requires=requirements,
classifiers=classifiers,
version=version
)