-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
80 lines (59 loc) · 2.12 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
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
try:
from m2r import parse_from_file
long_description = parse_from_file('README.md')
except ImportError as e:
long_description = ''
here = path.abspath(path.dirname(__file__))
with open('requirements.txt') as f:
required = f.read().splitlines()
with open('requirements-build.txt') as f:
required_build = f.read().splitlines()
setup(
name='crit',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version='0.1',
description='Crit: infrastructure as actual code',
long_description=long_description,
# The project's main homepage.
url='https://github.com/jessielaf/crit',
# Author details
author='Jessie Liauw A Fong',
author_email='[email protected]',
# Choose your license
license='MIT',
# See https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: System :: Software Distribution',
'Topic :: System :: Systems Administration',
'Topic :: System :: Installation/Setup',
'Topic :: Utilities',
],
scripts=[
'crit/commands/cli.py'
],
entry_points={'console_scripts': [
'crit = crit.commands.cli:main',
]},
# What does your project relate to?
keywords='ansible alternative infrastructure as actual code deployment installing setup',
packages=find_packages(),
install_requires=required,
extras_require={
'docs': required_build
},
include_package_data=True,
)