Browse Source

Fixed copyright headers. Removed Python version from Pipfile. Fixed package name in makefile. Fixed dependencies.

master
Franco Masotti 7 months ago
parent
commit
a393eea0c7
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 13
      Makefile
  2. 23
      Pipfile
  3. 2
      README.rst
  4. 2
      docs/copyright_license.rst
  5. 2
      examples/python_gpl_compatible.yml
  6. 2
      licheck/__init__.py
  7. 2
      licheck/__main__.py
  8. 2
      licheck/api.py
  9. 2
      licheck/cli.py
  10. 2
      licheck/constants.py
  11. 2
      licheck/exceptions.py
  12. 2
      licheck/tests/__init__.py
  13. 2
      licheck/tests/tests.py
  14. 8
      setup.py

13
Makefile

@ -2,7 +2,7 @@
#
# Makefile
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021-2022 Franco Masotti (franco \D\o\T masotti {-A-T-} tutanota \D\o\T com)
#
# This file is part of licheck.
#
@ -36,12 +36,15 @@ uninstall:
install-dev:
pipenv install --dev
pipenv run pre-commit install
pipenv graph
pipenv check
uninstall-dev:
rm -f Pipfile.lock
pipenv --rm
demo:
asciinema/licheck_asciinema_$$(git describe --tags $$(git rev-list --tags --max-count=1) | tr '.' '_')_demo.sh
update: install-dev
pipenv run pre-commit autoupdate
test:
pipenv run python -m unittest $(PACKAGE_NAME).tests.tests --failfast --locals --verbose
@ -62,7 +65,7 @@ upload:
pipenv run twine upload dist/*
clean:
rm -rf build dist *.egg-info tests/benchmark-results *.md
rm -rf build dist *.egg-info
pipenv run $(MAKE) -C docs clean
.PHONY: default doc install uninstall install-dev uninstall-dev test clean demo benchmark
.PHONY: default doc install uninstall install-dev uninstall-dev update test clean demo

23
Pipfile

@ -1,7 +1,7 @@
#
# Pipfile
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021-2022 Franco Masotti (franco \D\o\T masotti {-A-T-} tutanota \D\o\T com)
#
# This file is part of licheck.
#
@ -26,21 +26,18 @@ verify_ssl = true
[dev-packages]
# Documentation.
Sphinx = "~=4.1"
sphinx-rtd-theme = "~=0.5"
Sphinx = ">=4,<5"
sphinx-rtd-theme = ">=1,<2"
# Tools.
twine = "~=3.4"
pre-commit = "~=2.14"
twine = ">=3,<4"
pre-commit = ">=2,<3"
# Unit tests.
requests-mock = "~=1.9"
requests-mock = ">=1,<2"
[packages]
PyYAML = "~=5.4"
tabulate = "~=0.8"
appdirs = "~=1.4"
requests = "~=2.26"
[requires]
python_version = "*"
PyYAML = ">=6,<7"
tabulate = ">=0,<1"
appdirs = ">=1,<2"
requests = ">=2.26,<2.27"

2
README.rst

@ -86,7 +86,7 @@ CLI Helps
License
-------
Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
Copyright (C) 2021-2022 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
licheck is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

2
docs/copyright_license.rst

@ -1,7 +1,7 @@
Copyright and License
=====================
Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
licheck is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

2
examples/python_gpl_compatible.yml

@ -1,7 +1,7 @@
#
# python_gpl_compatible.yml
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/__init__.py

@ -1,7 +1,7 @@
#
# __init__.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/__main__.py

@ -1,7 +1,7 @@
#
# __main__.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/api.py

@ -1,7 +1,7 @@
#
# api.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/cli.py

@ -1,7 +1,7 @@
#
# cli.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/constants.py

@ -1,7 +1,7 @@
#
# constants.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/exceptions.py

@ -1,7 +1,7 @@
#
# exceptions.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/tests/__init__.py

@ -1,7 +1,7 @@
#
# __init__.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

2
licheck/tests/tests.py

@ -2,7 +2,7 @@
#
# tests.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#

8
setup.py

@ -1,7 +1,7 @@
#
# setup.py
#
# Copyright (C) 2021 frnmst (Franco Masotti) <franco.masotti@tutanota.com>
# Copyright (C) 2021 Franco Masotti (franco DoT masotti {-A-T-} tutanota DoT com)
#
# This file is part of licheck.
#
@ -52,9 +52,9 @@ setup(
'Programming Language :: Python :: 3',
],
install_requires=[
'PyYAML>=5.4,<5.5',
'tabulate>=0.8,<0.9',
'appdirs>=1.4,<1.5',
'PyYAML>=6,<7',
'tabulate>=0,<1',
'appdirs>=1,<2',
'requests>=2.26,<2.27',
],
)

Loading…
Cancel
Save