-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
49 lines (44 loc) · 1.76 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
from setuptools import setup, find_packages
import os
import re
import io
# Load version from module (without loading the whole module)
with io.open('src/zombiedice/__init__.py', 'r', encoding='utf-8') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='zombiedice',
version=version,
url='https://github.com/asweigart/zombiedice',
author='Al Sweigart',
author_email='al@inventwithpython.com',
description=('A simulator for the dice game Zombie Dice that can run bot AI players.'),
long_description=long_description,
license='BSD',
packages=find_packages(where='src'),
package_dir={'': 'src'},
package_data={'zombiedice': ['*.png', '*.jpg', '*.js']},
install_requires=[],
keywords="zombie dice game ai simulator bots",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)