This repository was archived by the owner on Sep 5, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +43
-6
lines changed Expand file tree Collapse file tree 8 files changed +43
-6
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,32 @@ This file contains a brief summary of new features and dependency changes or
5
5
releases, in reverse chronological order.
6
6
7
7
8
+ 2.0.1 (2021-05-25)
9
+ ------------------
10
+
11
+ Bug Fixes
12
+ ^^^^^^^^^
13
+
14
+ * Fixed changelog URL in package description.
15
+ * Added missed ``test_env.txt `` to the package contents.
16
+
17
+
18
+ Improved Documentation
19
+ ^^^^^^^^^^^^^^^^^^^^^^
20
+
21
+ * Improved package documentation.
22
+ * Fixed misspellings in the documentation.
23
+
24
+
25
+ Trivial/Internal Changes
26
+ ^^^^^^^^^^^^^^^^^^^^^^^^
27
+
28
+ * Added testing dependencies to ``setup.py ``.
29
+
30
+
31
+ ----
32
+
33
+
8
34
2.0.0 (2021-05-25)
9
35
------------------
10
36
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ include AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst LICENSE README.rst SECURITY.r
16
16
# Many OS distributions prefers provide an ability run the tests
17
17
# during the package installation.
18
18
recursive-include tests *.py
19
+ recursive-include tests *.txt
19
20
20
21
# All files in the sdist with a .pyc, .pyo, or .pyd extension will be removed
21
22
# from the sdist.
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ and the latest release on `PyPI <https://pypi.org/project/django-environ-2/>`_.
117
117
It’s rigorously tested on Python 3.6+, and officially supports
118
118
Django 1.11, 2.2, 3.0, 3.1 and 3.2.
119
119
120
- If you'd like to contribute to Gstore you're most welcome!
120
+ If you'd like to contribute to `` django-environ-2 `` you're most welcome!
121
121
122
122
.. -support-
123
123
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ def find_version(meta_file):
56
56
"sphinx.ext.doctest" ,
57
57
"sphinx.ext.intersphinx" ,
58
58
"sphinx.ext.todo" ,
59
+ "notfound.extension"
59
60
]
60
61
61
62
# Add any paths that contain templates here, relative to this directory.
Original file line number Diff line number Diff line change 13
13
14
14
Modules:
15
15
16
+ compat
16
17
environ
17
18
18
19
Misc variables:
35
36
36
37
37
38
__copyright__ = 'Copyright (C) 2021 Serghei Iakovlev'
38
- __version__ = '2.0.0 '
39
+ __version__ = '2.0.1 '
39
40
__license__ = 'MIT'
40
41
__author__ = 'Daniele Faraglia'
41
42
__author_email__ = 'daniele.faraglia@gmail.com'
Original file line number Diff line number Diff line change 6
6
# For the full copyright and license information, please view
7
7
# the LICENSE file that was distributed with this source code.
8
8
9
- """
9
+ """Configure Django made easy.
10
+
10
11
django-environ-2 allows you to utilize 12factor inspired environment
11
12
variables to configure your Django application.
13
+
12
14
"""
13
15
14
16
import ast
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def changes():
52
52
'===================\n ' ,
53
53
changes (),
54
54
'' ,
55
- f"`Full changelog <{ find_meta ('url' )} /en/latest/changelog.htm >`_." ,
55
+ f"`Full changelog <{ find_meta ('url' )} /en/latest/changelog.html >`_." ,
56
56
'' ,
57
57
read_file (path .join (PKG_DIR , 'SECURITY.rst' )),
58
58
'' ,
@@ -157,19 +157,24 @@ def get_version_string():
157
157
#
158
158
EXTRAS_REQUIRE = {
159
159
# Dependencies that are required to run tests
160
- 'testing' : [],
160
+ 'testing' : [
161
+ "pytest>=6.2.0" , # Our test framework
162
+ 'pytest-cov>=2.11.1' , # Pytest plugin for measuring coverage
163
+ ],
161
164
# Dependencies that are required to develop package
162
165
'develop' : [],
163
166
# Dependencies that are required to build documentation
164
167
'docs' : [
165
168
'furo>=2020.12.30b24,==2020.12.*' , # Sphinx documentation theme
166
169
'sphinx>=3.5.0' , # Python documentation generator
170
+ "sphinx-notfound-page" , # Create a custom 404 page
167
171
],
168
172
}
169
173
170
174
# Project's URLs
171
175
PROJECT_URLS = {
172
176
'Documentation' : 'https://django-environ-2.readthedocs.io' ,
177
+ "Changelog" : f"{ find_meta ('url' )} /en/latest/changelog.html" ,
173
178
'Bug Tracker' : 'https://github.com/sergeyklay/django-environ-2/issues' ,
174
179
'Source Code' : 'https://github.com/sergeyklay/django-environ-2' ,
175
180
}
Original file line number Diff line number Diff line change 6
6
# For the full copyright and license information, please view
7
7
# the LICENSE file that was distributed with this source code.
8
8
9
- # Tox (http ://tox.testrun.org/ ) - run tests in multiple virtualenvs.
9
+ # Tox (https ://tox.readthedocs.io ) - run tests in multiple virtualenvs.
10
10
# Also contains configuration settings for all tools executed by Tox.
11
11
12
12
[tox]
@@ -55,6 +55,7 @@ commands_pre =
55
55
commands = flake8 environ
56
56
57
57
[testenv:docs]
58
+ description = Build package documentation (HTML)
58
59
# Keep basepython in sync with gh-actions and .readthedocs.yml.
59
60
basepython = python3.8
60
61
extras = docs
You can’t perform that action at this time.
0 commit comments