-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (35 loc) · 1.08 KB
/
setup.py
File metadata and controls
44 lines (35 loc) · 1.08 KB
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
import os
from setuptools import setup, find_packages
from backend_app._version import __version__
with open("README.md", "r") as fh:
long_description = fh.read()
test_deps = ['pytest']
def package_files(*dirs):
paths = []
for d in dirs:
for (path, directories, filenames) in os.walk(d):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = package_files('backend_app/resources')
setup(name='backend_app',
version=__version__,
description='SAML Analyzer',
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[],
url='https://github.com/michaelmernin/flask_saml_validator',
maintainer='Michael Mernin, Brian Nickila, Danimae Vossen',
maintainer_email='',
license='MIT',
package_data={
'backend_app': extra_files,
},
packages=find_packages(),
install_requires=[
'xmltodict',
'Flask',
'PyYAML',
],
tests_require=test_deps,
)