-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (40 loc) · 1.49 KB
/
setup.py
File metadata and controls
46 lines (40 loc) · 1.49 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import multiprocessing
import re
from setuptools import setup
required = [l for l in open('requirements/base.txt').read().split("\n")]
required_test = [l for l in open('requirements/test.txt').read().split("\n")]
mfinit = open('misfit/__init__.py').read()
refind = lambda varname: re.search("%s = '([^']+)'" % varname, mfinit).group(1)
setup(
name='misfit',
version=refind('__version__'),
description='Misfit API client implementation',
long_description=open('README.rst').read(),
author=refind('__author__'),
author_email=refind('__author_email__'),
url='https://github.com/orcasgit/python-misfit',
packages=['misfit'],
package_data={'': ['LICENSE']},
include_package_data=True,
install_requires=["setuptools"] + required,
license=refind('__license__'),
entry_points={
'console_scripts': ['misfit=misfit.cli:main'],
},
test_suite='nose.collector',
tests_require=required_test,
classifiers=(
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy'
),
)