Skip to content

Commit

Permalink
fixes license, updates package metadata and removes mock' from inst…
Browse files Browse the repository at this point in the history
…all_requires'
  • Loading branch information
gabrielfalcao committed Jan 16, 2024
1 parent f1adc76 commit 6799392
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 61 deletions.
55 changes: 1 addition & 54 deletions COPYING
@@ -1,4 +1,4 @@
Copyright (C) <2010-2022> Gabriel Falcão <gabriel@nacaolivre.org>
Copyright (C) <2010-2024> Gabriel Falcão <gabriel@nacaolivre.org>

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Expand Down Expand Up @@ -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.

<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>

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 <http://www.gnu.org/licenses/>.

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:

<program> Copyright (C) <year> <name of author>
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
<http://www.gnu.org/licenses/>.

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
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
3 changes: 1 addition & 2 deletions MANIFEST.in
@@ -1,4 +1,3 @@
include requirements.txt tox.ini
include requirements.txt
include COPYING
include README.rst
recursive-include tests *.py
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions development.txt
Expand Up @@ -7,3 +7,4 @@ tox==4.1.1
twine==3.4.1
pytest==7.4.3
pytest-cov==4.1.0
mock
9 changes: 6 additions & 3 deletions setup.py
Expand Up @@ -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(
Expand All @@ -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={
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion sure/special.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# <sure - sophisticated automated test library and runner>
# Copyright (C) <2012-2023> Gabriel Falcão <gabriel@nacaolivre.org>
# Copyright (C) <2012-2024> Gabriel Falcão <gabriel@nacaolivre.org>
# Copyright (C) <2012> Lincoln Clarete <lincoln@comum.org>
#
# This program is free software: you can redistribute it and/or modify
Expand Down

0 comments on commit 6799392

Please sign in to comment.