-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
32 lines (28 loc) · 915 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
import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('dmcontent/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
setup(
name='digitalmarketplace-content-loader',
version=version,
url='https://github.com/alphagov/digitalmarketplace-content-loader',
license='MIT',
author='GDS Developers',
description='Digital Marketplace Content Loader',
long_description=__doc__,
packages=find_packages(),
package_data={'dmcontent': ['py.typed']},
include_package_data=True,
install_requires=[
'Flask>=1.0,<2.1',
'Jinja2>=2.10,<3.1',
'Markdown<4.0.0,>=2.6.7',
'PyYAML>=5.1.2,<7.0',
'inflection<1.0.0,>=0.3.1',
'digitalmarketplace-utils>=59.0.0',
],
python_requires="~=3.8",
)