-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.py
84 lines (77 loc) · 2.3 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
"""Setup for the durable function module."""
import pathlib
import os
import shutil
import subprocess
import sys
from glob import glob
from setuptools import setup, find_packages
from distutils.command import build
with open("README.md", "r", encoding="utf8") as fh:
long_description = fh.read()
class BuildModule(build.build):
"""Used to build the module."""
def run(self, *args, **kwargs):
"""Execute the build.
:param args:
:param kwargs:
"""
super().run(*args, **kwargs)
setup(
name='azure-functions-durable',
packages=find_packages(exclude=[
"tests",
"samples",
"scripts",
"azure"
]),
use_scm_version=True,
setup_requires=['setuptools_scm'],
author="Azure Functions team at Microsoft Corp.",
author_email="[email protected]",
keywords="azure functions azurefunctions python serverless workflows durablefunctions",
url="https://github.com/Azure/azure-functions-durable-python",
description='Durable Functions For Python',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Environment :: Web Environment',
'Development Status :: 5 - Production/Stable',
],
license='MIT',
python_requires='>=3.6,<4',
install_requires=[
'azure-functions>=1.12.0',
'aiohttp>=3.6.2',
'requests==2.*',
'python-dateutil>=2.8.0',
'furl>=2.1.0'
],
extra_requires=[
'flake8==3.7.8',
'flake8-docstrings==1.5.0',
'pytest==7.1.2',
'python-dateutil==2.8.0',
'requests==2.22.0',
'jsonschema==3.2.0',
'aiohttp==3.6.2',
'azure-functions>=1.2.0',
'nox==2019.11.9',
'furl==2.1.0',
'pytest-asyncio==0.20.2'
],
include_package_data=True,
data_files= [
('_manifest', list(filter(os.path.isfile, glob('_manifest/**/*', recursive=True)))),
],
cmdclass={
'build': BuildModule
},
test_suite='tests'
)