-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
38 lines (27 loc) · 908 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
29
30
31
32
33
34
35
36
37
38
import re
from setuptools import setup
version = ''
with open('scathach/__init__.py') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1)
requirements = []
with open('requirements.txt') as f:
requirements = f.read().splitlines()
if not version:
raise RuntimeError('version is not set')
readme = ''
with open('README.md') as f:
readme = f.read()
setup(
name='scathach-api',
author='sinkaroid',
author_email='[email protected]',
version='1.4.4',
long_description=readme,
url='https://github.com/sinkaroid/scathach-api.py',
packages=['scathach'],
license='MIT',
description='An advanced NSFW wrapper, complete rewrite and overhaul of the original Fate/Lewd Order API.',
include_package_data=True,
keywords = ['NSFW', 'wrapper', 'fate/grand order'],
install_requires=requirements
)