diff --git a/COPYING b/COPYING index a7c19df..41a4f93 100644 --- a/COPYING +++ b/COPYING @@ -1,4 +1,4 @@ -Copyright (C) <2010-2022> Gabriel Falcão +Copyright (C) <2010-2024> Gabriel Falcão GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 @@ -621,56 +621,3 @@ Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. diff --git a/MANIFEST.in b/MANIFEST.in index eeac635..8348c3d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,3 @@ -include requirements.txt tox.ini +include requirements.txt include COPYING include README.rst -recursive-include tests *.py diff --git a/Makefile b/Makefile index a638609..50dcc9d 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ push-release: dist # pushes distribution tarballs of the current version $(VENV)/bin/twine upload dist/*.tar.gz build-release: - $(VENV)/bin/python setup.py build sdist + $(VENV)/bin/python setup.py build sdist bdist_wheel $(VENV)/bin/twine check dist/*.tar.gz release: tests diff --git a/development.txt b/development.txt index 064b62e..7300801 100644 --- a/development.txt +++ b/development.txt @@ -7,3 +7,4 @@ tox==4.1.1 twine==3.4.1 pytest==7.4.3 pytest-cov==4.1.0 +mock diff --git a/setup.py b/setup.py index 1108600..5767e33 100644 --- a/setup.py +++ b/setup.py @@ -86,9 +86,10 @@ def read_readme(): return __doc__ -install_requires = ["mock", "coverage==7.4.0", "click==8.1.7", "couleur==0.7.4"] -tests_require = [] +install_requires = ["coverage==7.4.0", "click==8.1.7", "couleur==0.7.4"] +tests_require = ["mock"] version = read_version() +packages = find_packages(exclude=["*tests*", "*examples*"]) if __name__ == "__main__": setup( @@ -102,7 +103,7 @@ def read_readme(): maintainer="Gabriel Falcao", maintainer_email="gabrielteratos@gmail.com", include_package_data=True, - packages=find_packages(exclude=["*tests*"]), + packages=packages, install_requires=install_requires, long_description_content_type='text/x-rst', entry_points={ @@ -118,11 +119,13 @@ def read_readme(): "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", diff --git a/sure/special.py b/sure/special.py index af2aebc..b598a6c 100644 --- a/sure/special.py +++ b/sure/special.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) <2012-2023> Gabriel Falcão +# Copyright (C) <2012-2024> Gabriel Falcão # Copyright (C) <2012> Lincoln Clarete # # This program is free software: you can redistribute it and/or modify