Skip to content

Commit

Permalink
Clean setup.py (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinHjelmare authored Mar 22, 2022
1 parent 8d3d164 commit a19f82c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
"""Set up pydroid_ipcam package."""
from setuptools import setup

from pathlib import Path

long_description = open("README.md").read()
from setuptools import setup

PROJECT_DIR = Path(__file__).parent.resolve()
README_FILE = PROJECT_DIR / "README.md"
REQUIRES = ["aiohttp>=3.6.2"]


setup(
name="pydroid-ipcam",
version="1.3.1",
Expand All @@ -14,7 +16,7 @@
author="Pascal Vizeli",
author_email="[email protected]",
description="Library for handling the Android IP Webcam app",
long_description=long_description,
long_description=README_FILE.read_text(encoding="utf-8"),
long_description_content_type="text/markdown",
packages=["pydroid_ipcam"],
python_requires=">=3.8",
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ deps =
[testenv:lint]
ignore_errors = True
commands =
flake8 pydroid_ipcam
pylint --rcfile pylintrc pydroid_ipcam
flake8 pydroid_ipcam setup.py
pylint --rcfile pylintrc pydroid_ipcam setup.py

[testenv:black]
commands =
Expand Down

0 comments on commit a19f82c

Please sign in to comment.