Skip to content

Commit 1816858

Browse files
committed
Fix crippling bug wherein you can only install this package on 19 Jun 2025- tried to get clever w/ setup.py; what I really want is comptime
1 parent a995607 commit 1816858

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

build-tag-and-push.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ if [[ "${SKIP_PUSH}" == "1" ]]; then
1919
command="python setup.py sdist && ls -al dist/*"
2020
fi
2121

22-
docker run --rm --name "${container}" -e "VERSION_OVERRIDE=${VERSION}" -v "${HOME}/.pypirc:/root/.pypirc" --workdir "/srv/python-third-party-license-file-generator" --entrypoint bash "${image}" -c "${command}"
22+
docker run --rm --name "${container}" -v "${HOME}/.pypirc:/root/.pypirc" --workdir "/srv/python-third-party-license-file-generator" --entrypoint bash "${image}" -c "${command}"

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
except Exception:
2424
pass
2525

26-
now = datetime.datetime.now()
27-
2826
here = path.abspath(path.dirname(__file__))
2927

3028
# Get the long description from the README file
@@ -36,12 +34,7 @@
3634
# Versions should comply with PEP440. For a discussion on single-sourcing
3735
# the version across setup.py and the project code, see
3836
# https://packaging.python.org/en/latest/single_source_version.html
39-
version=getenv("VERSION_OVERRIDE")
40-
or "{}.{}.{}".format(
41-
now.year,
42-
now.month,
43-
now.day,
44-
),
37+
version="2025.6.20",
4538
description='The Python third_party_license_file_generator is aimed at distilling down the appropriate license for one or many pip "requirements" files into a single file; it supports Python2.7 and Python3.',
4639
long_description=long_description,
4740
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)