Skip to content

Commit a072133

Browse files
authored
Merge pull request #24 from yoyowallet/fix_packaging
Fix packaging
2 parents 67e1fc5 + 7a17eb8 commit a072133

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.1.0
2+
current_version = 1.1.1
33
commit = False
44
tag = False
55

CHANGES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ updating.
1919

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

22+
---
23+
# 1.1.1
24+
- Fixed a problem with packaging on release where the new locks folder was missing.
25+
2226
---
2327
# 1.1.0
2428
**[Security updates]**

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ coverage:
3030
@echo file://${PWD}/htmlcov/index.html
3131

3232
bundle: static_analysis coverage
33-
rm -r ./dist/
33+
rm -r ./dist/ || true
34+
rm -r ./django_idempotency_key.egg-info/ || true
3435
python setup.py sdist
3536

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

3940
release: static_analysis coverage
4041
twine upload dist/*

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
3-
from setuptools import setup
3+
from setuptools import setup, find_packages
44

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

88
setup(
99
name="django-idempotency-key",
10-
version="1.1.0",
10+
version="1.1.1",
1111
author="Del Hyman-Jones",
1212
author_email="[email protected]",
1313
description=(
@@ -32,14 +32,14 @@
3232
"Framework :: Django :: 2.2",
3333
"Programming Language :: Python :: 3.6",
3434
],
35-
install_requires=["Django>=2.0"],
35+
install_requires=["Django>=2.0,<3"],
3636
project_urls={
3737
"Documentation": (
3838
"https://github.com/yoyowallet/django-idempotency-key/blob/master/README.md"
3939
),
4040
"Source": "https://github.com/yoyowallet/django-idempotency-key",
4141
},
42-
packages=["idempotency_key"],
42+
packages=find_packages(exclude=["tests*"]),
4343
setup_requires=["setuptools>=38.6.0"],
4444
include_package_data=True,
4545
zip_safe=False,

0 commit comments

Comments
 (0)