Skip to content

Commit 22e19dd

Browse files
authored
Merge pull request #3 from kutoga/small-improvements
pypi: Tarball improvements
2 parents 0545c98 + a012660 commit 22e19dd

File tree

8 files changed

+16
-9
lines changed

8 files changed

+16
-9
lines changed

LICENSE

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
The MIT License (MIT)
1+
MIT License
22

3-
Copyright (c) 2018 Benjamin Bruno Meier
3+
Copyright (c) 2022 Benjamin Bruno Meier
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include tests/*.py

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
A minimalistic interface that allows lazy evaluation of expressions and function calls.
1313

14-
Note: This small library is highly based on `python-lazy-object-proxy`.
14+
Note: This small library is heavily based on `python-lazy-object-proxy`.
1515

1616
Why using ℒazy-ℒoad? Lazy loading in general may make some software implementations much more efficient.
1717
Especially if it is not known if some data has to be loaded or not. Often the resulting code is less efficient,

lazy_load/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212

1313
# __all__ is not used, because it is not possible to include there "ℒ":
1414
# AttributeError: module 'lazy_load' has no attribute 'ℒ'
15+

setup.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def read(filename):
1515

1616
setup(
1717
name="lazy_load",
18-
version="0.8.2",
18+
version="0.8.3",
1919
url="https://github.com/kutoga/lazy-load",
2020
license='MIT',
2121

@@ -26,18 +26,21 @@ def read(filename):
2626
"of expressions. Additional functions and wrappers allow it to easily " +\
2727
"use the lazy evaluation for functions and classes.",
2828
long_description=read("README.rst"),
29-
3029
packages=find_packages(exclude=('tests',)),
31-
3230
install_requires=['lazy-object-proxy>=1.3.1'],
33-
31+
test_suite="tests",
32+
tests_require=['pytest'],
3433
classifiers=[
3534
'Development Status :: 2 - Pre-Alpha',
3635
'License :: OSI Approved :: MIT License',
3736
'Programming Language :: Python',
3837
'Programming Language :: Python :: 3.5',
3938
'Programming Language :: Python :: 3.6',
4039
'Programming Language :: Python :: 3.7',
40+
'Programming Language :: Python :: 3.8',
41+
'Programming Language :: Python :: 3.9',
42+
'Programming Language :: Python :: 3.10',
43+
'Programming Language :: Python :: 3.11',
4144
]
4245
)
4346

tests/__init__.py

Whitespace-only changes.

tests/test_sample.py renamed to tests/test_basic.py

+1
Original file line numberDiff line numberDiff line change
@@ -193,3 +193,4 @@ def add(x: int, y: int) -> int:
193193
assert not evaluated
194194
assert res == 3
195195
assert evaluated
196+

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
2-
envlist = py27,py34,py35,py36,py37
2+
envlist = py27,py34,py35,py36,py37,py38,py39,py310
33

44
[testenv]
55
commands = py.test lazy_load
66
deps = pytest
7+

0 commit comments

Comments
 (0)