-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
51 lines (42 loc) · 1.43 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__), 'nidaba', '__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='nidaba',
packages=find_packages(),
url='http://sopython.com/pages/nidaba',
license='BSD',
author='Keiron Pizzey',
author_email='[email protected]',
description='Machine learning library for studying Stack Overflow data.',
install_requires=requirements,
classifiers=classifiers,
version=version
)