-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathsetup.py
124 lines (95 loc) · 3.35 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
# [ ~/.pypirc ] ----------------------------------------------------------------
[distutils]
index-servers =
testpypi
pypi
[testpypi]
repository=https://test.pypi.org/legacy/
username=jen-soft
password=secret
[pypi]
repository=https://upload.pypi.org/legacy/
username=jen-soft
password=secret
# ------------------------------------------------------------------------------
# curl https://bootstrap.pypa.io/get-pip.py | python3.4
# python3.4 -m pip install -U setuptools
# python3.4 -m pip install -U pip
# python3.4 -m pip install -U six
# python3.4 -m pip install -U twine
# python3.4 setup.py bdist_wheel # WHL
python3.4 setup.py sdist # EGG
python3.4 -m twine upload dist/* -r testpypi
# https://test.pypi.org/project/pydocker
# pip install --no-cache-dir -U -i https://test.pypi.org/pypi pydocker
# git tag -a v1.0.6 -m 'version 1.0.6'
# git push origin --tags
# ------------------------------------------------------------------------------
rm -rf ./dist
rm -rf ./pydocker.egg-info/
# change version, commit, add download url, add git tag,
python3.4 setup.py sdist # EGG
python3.4 -m twine upload dist/* -r pypi
# pip install --no-cache-dir -U pydocker==1.0.6
# ls -lah /usr/local/lib/python2.7/dist-packages | grep pydocker
# ------------------------------------------------------------------------------
"""
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
# #
setup(
name='pydocker',
version='1.0.6',
description='Easy generator Dockerfile for humans.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/jen-soft/pydocker', # home-page
author='Jen-Soft',
author_email='jen.soft.master@gmail.com',
license='Apache License 2.0 and MIT License',
maintainer='Jen-Soft',
maintainer_email='jen.soft.master@gmail.com',
platforms=['any', ],
download_url='https://github.com/jen-soft/pydocker/archive/v1.0.6.zip',
# packages=['pydocker', ],
py_modules=['pydocker', ],
install_requires=[],
keywords=[
'dockerfile',
'docker',
'pydocker',
'python',
'deploy',
'docker-image',
'for-humans',
],
classifiers=[
# https://pypi.org/classifiers/
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: Apple Public Source License",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Natural Language :: Russian",
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: Implementation',
'Topic :: Software Development',
'Topic :: System',
'Topic :: System :: Clustering',
'Topic :: System :: Emulators',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP :: HTTP Servers',
],
)