-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
45 lines (32 loc) · 1.13 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
import re
import sys
from setuptools import setup, find_packages
assert sys.version_info >= (3, 6, 0), "genyrator requires Python 3.6+"
with open('README.md', 'rt', encoding='utf8') as f:
long_description = f.read()
with open('genyrator/__init__.py', 'rt', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
setup(
name='genyrator',
version=version,
url='https://github.com/jumblesale/genyrator',
project_urls={
'Code': 'https://github.com/jumblesale/genyrator',
'Issue tracker': 'https://github.com/jumblesale/genyrator/issues',
},
packages=find_packages(exclude=('test', 'test.*', 'bookshop', 'bookshop.*')),
license='MIT',
author='jumblesale',
author_email='',
description='A tool for generating a Flask web app from an abstract definition',
long_description=long_description,
long_description_content_type='text/markdown',
package_data={'': ['*.j2', ]},
include_package_data=True,
python_requires=">=3.6",
install_requires=[
'attrs>=18.1',
'inflection>=0.3',
'sqlalchemy==1.3.0',
],
)