forked from syllant/bggcli
/
setup.py
55 lines (49 loc) · 1.58 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
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
from codecs import open
from bggcli.version import VERSION
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
pytest.main(self.test_args)
# long description
with open('README.rst', 'r', encoding='utf8') as f:
long_description = f.read()
setup(
author='Greg Smith <ecomputerd@yahoo.com>, Sylvain Francois <syllant@gmail.com>',
author_email='ecomputerd@yahoo.com',
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Topic :: Games/Entertainment :: Board Games"
],
cmdclass={'test': PyTest},
description='Command Line Interface for BoardGameGeek.com',
entry_points='''
[console_scripts]
bggcli=bggcli.main:main
''',
install_requires=[
'selenium', 'docopt'
],
keywords='bgg boardgamegeek',
license='MIT',
long_description=long_description,
name='bggcli[2018]',
packages=find_packages(),
py_modules=['bggcli'],
tests_require=["pytest"],
test_suite='test',
url='http://github.org/HiGregSmith/bggcli',
version=VERSION
)