-
Notifications
You must be signed in to change notification settings - Fork 31
/
setup.py
28 lines (24 loc) · 860 Bytes
/
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
from setuptools import setup, find_packages
import sys, os
if sys.version_info.major != 3 or sys.version_info.minor < 6:
print(sys.version_info)
raise SystemError('Module written for Python 3.6+.')
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
__doc__ = f.read()
description = __doc__.split('\n')[1] # non-title line.
setup(
name='DnD-battler',
version='0.2',
python_requires='>3.6',
packages=find_packages(),
package_data={'': ['beastiary.csv']},
include_package_data=True,
url='https://github.com/matteoferla/DnD-battler',
license='MIT',
author='matteoferla',
author_email='[email protected]',
description=description,
long_description=__doc__,
long_description_content_type='text/markdown',
)