-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (41 loc) · 1.33 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
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.pytest_args = []
def run_tests(self):
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
version = '0.0.1'
# version=regatta.__version__,
long_description = open('README.md', 'r').read()
setup(
name='regatta',
version=version,
license='General Public License',
author='Fabian Sturm',
author_email='[email protected]',
url='http://github.com/sturmf/regatta/',
description='A simple sailing race scoring program.',
long_description=long_description,
setup_requires=['flake8'],
# install_requires=[],
tests_require=['pytest'],
cmdclass={'test': PyTest},
packages=['regatta'],
platforms='any',
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: X11 Applications :: Qt',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
],
)