-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
70 lines (48 loc) · 1.64 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
#!/usr/bin/env python3
# coding: utf-8
# Copyright (c) Colav.
# Distributed under the terms of the Modified BSD License.
# -----------------------------------------------------------------------------
# Minimal Python version sanity check (from IPython)
# -----------------------------------------------------------------------------
# See https://stackoverflow.com/a/26737258/2268280
# sudo pip3 install twine
# python3 setup.py sdist bdist_wheel
# twine upload dist/*
# For test purposes
# twine upload --repository-url https://test.pypi.org/legacy/ dist/*
from __future__ import print_function
from setuptools import setup, find_packages
import os
import sys
v = sys.version_info
shell = False
if os.name in ('nt', 'dos'):
shell = True
warning = "WARNING: Windows is not officially supported"
print(warning, file=sys.stderr)
def main():
setup(
# Application name:
name="desoper",
# Version number (initial):
version="0.0.3",
# Application author details:
author="restrepo",
author_email="restrepo@udea.edu.co",
# Packages
packages=find_packages(exclude=['tests']),
# Include additional files into the package
include_package_data=True,
# Details
url="https://github.com/restrepo/DevOps",
license="BSD",
description="Hello World!",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
# Dependent packages (distributions)
# See: https://github.com/pypa/pipenv/issues/2171
# install_requires=[],
)
if __name__ == "__main__":
main()