From 3eb6c7f26666ca5e0661908ff858b7afcc70ee18 Mon Sep 17 00:00:00 2001 From: Lulzette Date: Fri, 8 Apr 2022 22:32:06 +0300 Subject: [PATCH] Revert "Add setup.py" This reverts commit ff8eaad69aa20973519ba95df026123fef59bff2. --- setup.py | 32 -------------------------------- twvdscli.py | 1 - 2 files changed, 33 deletions(-) delete mode 100644 setup.py diff --git a/setup.py b/setup.py deleted file mode 100644 index 27bac68..0000000 --- a/setup.py +++ /dev/null @@ -1,32 +0,0 @@ -from setuptools import setup - - -with open("README.md", "r") as long_descr: - long_description = long_descr.read() - -setup( - name = 'twvdscli', - version = '1.0', - author = 'L0sted', - description = 'Servers and services manage tool for Timeweb Cloud', - long_description = long_description, - long_description_content_type = "text/markdown", - url = 'https://github.com/L0sted/twvdscli', - classifiers = [ - "Programming Language :: Python :: 3.10", - "License :: OSI Approved :: The Unlicense (Unlicense)", - "Operating System :: OS Independent", - ], - python_requires = '>=3.6', - py_modules = ['twvdscli'], - install_requires = [ - 'typer==0.4.0', - 'prettytable==3.2.0', - 'wcwidth==0.2.5' - ], - entry_points = { - 'console_scripts': [ - 'twvdscli = twvdscli' - ] - } -) diff --git a/twvdscli.py b/twvdscli.py index e088be5..ed5475a 100755 --- a/twvdscli.py +++ b/twvdscli.py @@ -291,7 +291,6 @@ def auth(based): json=dict(refresh_token="string"), headers=headers ) - if not result.ok: return None else: