Skip to content

Commit

Permalink
Merge pull request #55 from alandtse/#54
Browse files Browse the repository at this point in the history
fix(setup.py): update required libraries
  • Loading branch information
alandtse committed Jan 14, 2020
2 parents 8d1b00e + 1c423a3 commit c3ad2dd
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
VERSION = None

# What packages are required for this module to be executed?
REQUIRED = [
'teslajsonpy',
'requests'
]
REQUIRED = ["aiohttp"]

# What packages are optional?
EXTRAS = {
Expand Down Expand Up @@ -90,8 +87,7 @@ def run(self):
pass

self.status("Building Source and Wheel (universal) distribution…")
os.system("{0} setup.py sdist bdist_wheel --universal".
format(sys.executable))
os.system("{0} setup.py sdist bdist_wheel --universal".format(sys.executable))

self.status("Uploading the package to PyPI via Twine…")
os.system("twine upload dist/*")
Expand All @@ -117,7 +113,6 @@ def run(self):
packages=find_packages(exclude=("tests",)),
# If your package is a single module, use this instead of "packages":
# py_modules=["mypackage"],

# entry_points={
# "console_scripts": ["mycli=mymodule:cli"],
# },
Expand All @@ -129,15 +124,13 @@ def run(self):
# Trove classifiers
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"Development Status :: 3 - Alpha",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet',
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet",
],
# $ setup.py publish support.
cmdclass={
"upload": UploadCommand,
},
cmdclass={"upload": UploadCommand},
)

0 comments on commit c3ad2dd

Please sign in to comment.