Shutdown Source VM (PAUSED) on successfull migration + blackened all .py files
This commit is contained in:
parent
29e938dc74
commit
9bdf4d2180
31 changed files with 1307 additions and 638 deletions
71
setup.py
71
setup.py
|
|
@ -7,41 +7,48 @@ with open("README.md", "r") as fh:
|
|||
|
||||
try:
|
||||
import ucloud.version
|
||||
|
||||
version = ucloud.version.VERSION
|
||||
except:
|
||||
import subprocess
|
||||
c = subprocess.check_output(['git', 'describe'])
|
||||
|
||||
c = subprocess.check_output(["git", "describe"])
|
||||
version = c.decode("utf-8").strip()
|
||||
|
||||
|
||||
setup(name='ucloud',
|
||||
version=version,
|
||||
description='All ucloud server components.',
|
||||
url='https://code.ungleich.ch/ucloud/ucloud',
|
||||
long_description=long_description,
|
||||
long_description_content_type='text/markdown',
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||
'Programming Language :: Python :: 3'
|
||||
],
|
||||
author='ungleich',
|
||||
author_email='technik@ungleich.ch',
|
||||
packages=find_packages(),
|
||||
install_requires=[
|
||||
'requests',
|
||||
'Flask>=1.1.1',
|
||||
'flask-restful',
|
||||
'bitmath',
|
||||
'pyotp',
|
||||
'sshtunnel',
|
||||
'sphinx',
|
||||
'pynetbox',
|
||||
'colorama',
|
||||
'sphinx-rtd-theme',
|
||||
'etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3',
|
||||
'werkzeug', 'marshmallow'
|
||||
],
|
||||
scripts=['scripts/ucloud'],
|
||||
data_files=[(os.path.expanduser('~/ucloud/'), ['conf/ucloud.conf'])],
|
||||
zip_safe=False)
|
||||
setup(
|
||||
name="ucloud",
|
||||
version=version,
|
||||
description="All ucloud server components.",
|
||||
url="https://code.ungleich.ch/ucloud/ucloud",
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
classifiers=[
|
||||
"Development Status :: 3 - Alpha",
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Programming Language :: Python :: 3",
|
||||
],
|
||||
author="ungleich",
|
||||
author_email="technik@ungleich.ch",
|
||||
packages=find_packages(),
|
||||
install_requires=[
|
||||
"requests",
|
||||
"Flask>=1.1.1",
|
||||
"flask-restful",
|
||||
"bitmath",
|
||||
"pyotp",
|
||||
"sshtunnel",
|
||||
"sphinx",
|
||||
"pynetbox",
|
||||
"colorama",
|
||||
"sphinx-rtd-theme",
|
||||
"etcd3 @ https://github.com/kragniz/python-etcd3/tarball/master#egg=etcd3",
|
||||
"werkzeug",
|
||||
"marshmallow",
|
||||
],
|
||||
scripts=["scripts/ucloud"],
|
||||
data_files=[
|
||||
(os.path.expanduser("~/ucloud/"), ["conf/ucloud.conf"])
|
||||
],
|
||||
zip_safe=False,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue