Skip to content

Commit c7f0929

Browse files
committed
Do not include tests in the package
1 parent 6205844 commit c7f0929

File tree

4 files changed

+17
-6
lines changed

4 files changed

+17
-6
lines changed

CHANGELOG.rst

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
1-
0.3.3a0 - 20 February 2020
1+
0.3.3 - 20th February 2020
22
~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4+
* Do not include tests in the package
5+
6+
0.3.3a0 - 20th February 2020
7+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8+
49
* Add `BASIC_AUTH_DISABLE_CONSUMING_AUTHORIZATION_HEADER` setting (`#13 <https://gitlab.com/tmkn/django-basic-auth-ip-whitelist/issues/13>`_)
510

6-
0.3.2a0 - 5 December 2019
7-
~~~~~~~~~~~~~~~~~~~~~~~~~
11+
0.3.2a0 - 5th December 2019
12+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
813

914
* Add Django 3 support.
1015

11-
0.3.1 - 18 July 2019
12-
~~~~~~~~~~~~~~~~~~~~
16+
0.3.1 - 18th July 2019
17+
~~~~~~~~~~~~~~~~~~~~~~
1318

1419
* Include HTML and textual files in the package.
1520
* Delete "Authorization" header when it is used by the middleware (`#11 <https://gitlab.com/tmkn/django-basic-auth-ip-whitelist/issues/11>`_)

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include LICENSE *.rst
22
graft baipw
3+
prune baipw/tests
34
global-exclude __pycache__
45
global-exclude *.py[co]

baipw/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = "0.3.3"

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = django-basic-auth-ip-whitelist
3-
version = 0.3.3
3+
version = attr: baipw.__version__
44
description = Hide your Django site behind basic authentication mechanism with IP whitelisting support.
55
long-description = file: README.rst
66
author = Tomasz Knapik
@@ -41,6 +41,10 @@ install_requires =
4141
Django>=1.8,<4
4242
python_requires = >=3.4
4343

44+
[options.packages.find]
45+
exclude =
46+
baipw.tests*
47+
4448
[bdist_wheel]
4549
python-tag = py3
4650

0 commit comments

Comments
 (0)