This repository has been archived by the owner on Mar 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (49 loc) · 1.82 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
from pathlib import Path
from setuptools import find_packages, setup
import toml
version = Path('VERSION').read_text()
readme = Path('README.md').read_text()
pipfile = toml.loads(Path('Pipfile').read_text())
requirements = []
for k, v in pipfile["packages"].items():
package = k
if v.startswith('==') or v.startswith('>='):
package = f"{k}{v}"
requirements.append(package)
setup(
name='pitfall',
version=version,
description='An integration testing framework for Pulumi Infrastructure as Code',
long_description=readme,
long_description_content_type="text/markdown",
url='http://github.com/bincyber/pitfall',
author='@bincyber',
author_email="[email protected]",
license='Apache',
keywords="infrastructure-as-code testing devops pulumi",
packages=find_packages(where='.', include=["pitfall", "pitfall.*"]),
python_requires='>=3.7',
platforms=['any'],
install_requires=requirements,
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
'Topic :: System :: Systems Administration'
],
test_suite='nose2.collector.collector',
tests_require=['nose2']
)