Skip to content

Commit

Permalink
Packaging setup
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Jun 20, 2021
1 parent ae35010 commit ba6cab4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
recursive-include aiorsmq *.py
include requirements.txt README.md LICENSE
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@ types:
mypy aiorsmq tests

format:
black aiorsmq tests
black aiorsmq tests setup.py

format-check:
black --check aiorsmq tests
black --check aiorsmq tests setup.py

test:
docker-compose -f tests/docker-compose.yml up -d
PYTHONPATH=. pytest tests
docker-compose -f tests/docker-compose.yml down

lint:
flake8 aiorsmq tests
flake8 aiorsmq tests setup.py


html:
Expand Down
1 change: 1 addition & 0 deletions aiorsmq/__version__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.1.0"
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,19 @@
here = pathlib.Path(__file__).parent.resolve()
long_description = (here / "README.md").read_text()
requirements = (here / "requirements.txt").read_text().splitlines()
about = {}
with open(here / "aiorsmq" / "__version__.py") as f:
exec(f.read(), about)

setup(
name="aiorsmq",
version="0.1.0",
version=about["__version__"],
description="Async Python implementation of RSMQ.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/federicotdn/aiorsmq",
author="Federico Tedin",
author_email="federicotedin@gmail.com",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit ba6cab4

Please sign in to comment.