-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected requirements for installation and bumped version to v1.1.1.
The requirements.txt file had too many requirements. Only pytest is needed, and only for running the test suite. The PyPI setup.py file didn't have any requirements listed, so installation from PyPI was incomplete. These issues have now been rectified.
- Loading branch information
1 parent
6c860b1
commit 71a59e2
Showing
5 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,8 @@ authors: | |
affiliation: University of Manchester, UK | ||
email: [email protected] | ||
website: https://alexhenderson.info | ||
version: v1.1.0 | ||
date-released: "2022-03-05" | ||
version: v1.1.1 | ||
date-released: "2022-03-07" | ||
license: MIT | ||
license-url: https://spdx.org/licenses/MIT#licenseText | ||
repository: "https://github.com/AlexHenderson/hasher" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,12 +113,12 @@ output | |
|
||
### Installation ### | ||
|
||
pip install hasher-AlexHenderson==1.1.0 | ||
pip install hasher-AlexHenderson==1.1.1 | ||
|
||
|
||
## Usage rights ## | ||
Copyright (c) 2022 Alex Henderson ([email protected]) | ||
Licensed under the MIT License. See https://opensource.org/licenses/MIT | ||
SPDX-License-Identifier: MIT | ||
Version 1.1.0 | ||
Version 1.1.1 | ||
See https://github.com/AlexHenderson/hasher for the most recent version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
pytest~=7.0.1 | ||
setuptools~=60.9.3 | ||
pytest >= 7.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
setup( | ||
name="hasher-AlexHenderson", | ||
version="1.1.0", | ||
version="1.1.1", | ||
author="Alex Henderson", | ||
author_email="[email protected]", | ||
description="Python package to generate a stable hash value for either a single file, or a folder containing many " | ||
|
@@ -28,4 +28,7 @@ | |
package_dir={"": "src"}, | ||
packages=find_packages(where="src"), | ||
python_requires=">=3.7", | ||
install_requires=[ | ||
'pytest >= 7.0.1' | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
# Copyright (c) 2022 Alex Henderson ([email protected]) | ||
# Licensed under the MIT License. See https://opensource.org/licenses/MIT | ||
# SPDX-License-Identifier: MIT | ||
# Version 1.1.0 | ||
# Version 1.1.1 | ||
# See https://github.com/AlexHenderson/hasher for the most recent version | ||
|
||
import hashlib | ||
|
@@ -61,13 +61,13 @@ class Hasher: | |
Copyright (c) 2022 Alex Henderson ([email protected]) | ||
Licensed under the MIT License. See https://opensource.org/licenses/MIT | ||
SPDX-License-Identifier: MIT | ||
Version 1.1.0 | ||
Version 1.1.1 | ||
See https://github.com/AlexHenderson/hasher for the most recent version | ||
""" | ||
|
||
# Define the version of this code | ||
_version = "1.1.0" | ||
_version = "1.1.1" | ||
|
||
# Define the default type of hash as 'sha256' | ||
_default_hash_type = 'sha256' | ||
|