-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
37 lines (33 loc) · 1.07 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import ast
import re
from setuptools import setup, find_packages
# Dependencies
requirements = [
'django>=2.0.0',
'graphene-django>=2.2.0',
'django-graphql-jwt>=0.2.1',
]
# Parse version
_version_re = re.compile(r"__version__\s+=\s+(.*)")
with open("graphene_django_ai/__init__.py", "rb") as f:
version = str(
ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1))
)
setup(
name='graphene-django-ai',
version=version,
author=u'Ambient Innovation: GmbH',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
url='https://github.com/ambient-innovation/graphene-django-ai',
license="The MIT License (MIT)",
description='Toolbox for changes to streamline graphene-django.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
zip_safe=False,
dependency_links=['https://github.com/ambient-innovation/multiav/master/#egg=multiav', ],
install_requires=requirements
)