-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (52 loc) · 1.65 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
exec(open('cheesypi/version.py').read())
classifiers = """
'Development Status :: 2 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
"""
tests_require = [
'coverage',
'flake8',
'pydocstyle',
'pylint',
'pytest-pep8',
'pytest-cov',
# for pytest-runner to work, it is important that pytest comes last in
# this list: https://github.com/pytest-dev/pytest-runner/issues/11
'pytest',
'pygments',
]
version = '0.1.0'
setup(name='cheesypi',
version=__version__,
description='Control panel for intelligent fridge used to age cheese.',
long_description=read('README.rst'),
author='Sandy Carter',
author_email='bwrsandman@gmail.com',
url='https://github.com/bwrsandman/cheesypi',
classifiers=[c.strip() for c in classifiers.splitlines()
if c.strip() and not c.startswith('#')],
include_package_data=True,
packages=[
'cheesypi',
],
test_suite='tests',
setup_requires=['pytest-runner'],
tests_require=tests_require)