Skip to content

Commit

Permalink
Merge pull request #24 from yoyowallet/fix_packaging
Browse files Browse the repository at this point in the history
Fix packaging
  • Loading branch information
DelboyJay authored Apr 8, 2020
2 parents 67e1fc5 + 7a17eb8 commit a072133
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.0
current_version = 1.1.1
commit = False
tag = False

Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ updating.

**[Breaking changes]** - There are changes that break existing compatibility.

---
# 1.1.1
- Fixed a problem with packaging on release where the new locks folder was missing.

---
# 1.1.0
**[Security updates]**
Expand Down
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@ coverage:
@echo file://${PWD}/htmlcov/index.html

bundle: static_analysis coverage
rm -r ./dist/
rm -r ./dist/ || true
rm -r ./django_idempotency_key.egg-info/ || true
python setup.py sdist

release-test:
twine upload --repository-url https://test.pypi.org/legacy/ dist/django-idempotency-key-1.1.0.tar.gz
twine upload --repository-url https://test.pypi.org/legacy/ dist/django-idempotency-key-1.1.1.tar.gz

release: static_analysis coverage
twine upload dist/*
Expand Down
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import setup, find_packages

with open("README.md") as f:
long_description = f.read()

setup(
name="django-idempotency-key",
version="1.1.0",
version="1.1.1",
author="Del Hyman-Jones",
author_email="[email protected]",
description=(
Expand All @@ -32,14 +32,14 @@
"Framework :: Django :: 2.2",
"Programming Language :: Python :: 3.6",
],
install_requires=["Django>=2.0"],
install_requires=["Django>=2.0,<3"],
project_urls={
"Documentation": (
"https://github.com/yoyowallet/django-idempotency-key/blob/master/README.md"
),
"Source": "https://github.com/yoyowallet/django-idempotency-key",
},
packages=["idempotency_key"],
packages=find_packages(exclude=["tests*"]),
setup_requires=["setuptools>=38.6.0"],
include_package_data=True,
zip_safe=False,
Expand Down

0 comments on commit a072133

Please sign in to comment.