-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
53 lines (45 loc) · 1.39 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
#!/usr/bin/env python
import io
try:
from setuptools import find_packages, setup
except ImportError:
raise ImportError(
"'setuptools' is required but not installed. To install it, "
"follow the instructions at "
"https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py"
)
def read(*filenames, **kwargs):
encoding = kwargs.get("encoding", "utf-8")
sep = kwargs.get("sep", "\n")
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
install_req = [
"tornado",
]
tests_req = [
"pytest",
]
setup(
name="Dixit",
version="0.1.3",
author="Aaron Voelker",
author_email="[email protected]",
packages=find_packages(),
include_package_data=True,
url="https://github.com/arvoelke/Dixit/",
license="Free for personal (non-commercial) use",
description="Fan-created server for the board game Dixit",
long_description=read("README.rst", "CHANGES.rst"),
install_requires=install_req,
extras_require={"tests": tests_req},
zip_safe=False,
entry_points={"console_scripts": ["dixit = dixit:start"]},
python_requires=">=3.5",
classifiers=[ # https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 3 - Alpha",
"Topic :: Games/Entertainment :: Board Games",
],
)