diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-03-01 18:10:22 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-03-01 18:17:47 +0100 |
commit | a3e48dbdb53fc0b95b9bdb2813c23935bed200cf (patch) | |
tree | 1647aee3d3b2310804c691d57981af8e443755c2 | |
parent | 1a28c0ff29268c55099e30b2b1e57e985a9ee874 (diff) | |
download | nntplib-main.tar.gz |
Actually, we really need to work with just one file, so
src-layout is overkill. With it, pip has tendency to install
empty __init__.py file.
Fixes: gb#bf6072e
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | nntplib.py (renamed from src/nntplib.py) | 0 | ||||
-rw-r--r-- | pyproject.toml | 10 | ||||
-rw-r--r-- | src/__init__.py | 0 | ||||
-rw-r--r-- | src/nntplib.egg-info/PKG-INFO | 37 | ||||
-rw-r--r-- | src/nntplib.egg-info/SOURCES.txt | 16 | ||||
-rw-r--r-- | src/nntplib.egg-info/dependency_links.txt | 1 | ||||
-rw-r--r-- | src/nntplib.egg-info/requires.txt | 3 | ||||
-rw-r--r-- | src/nntplib.egg-info/top_level.txt | 2 |
9 files changed, 11 insertions, 61 deletions
@@ -6,6 +6,9 @@ *.rej *.swp *~ +eggs/ +.eggs/ +*.egg-info/ .gdb_history __pycache__ .idea/ diff --git a/src/nntplib.py b/nntplib.py index f6e746e..f6e746e 100644 --- a/src/nntplib.py +++ b/nntplib.py diff --git a/pyproject.toml b/pyproject.toml index 3ab6351..47add4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "nntplib" -version = "0.1.2" -description = "nntplib from Python 3 standard library as an independent module" +version = "0.1.3" +description = "NNTP module from the standard library" keywords = ["nntp"] authors = [ { name = "Matěj Cepl", email = "mcepl@cepl.eu" } @@ -21,6 +21,12 @@ classifiers = [ "Development Status :: 3 - Alpha", ] +# [tool.setuptools.packages.find] +# where = ["src"] +# # include = ["nntplib*"] # package names should match these glob patterns (["*"] by default) +# # exclude = ["my_package.tests*"] # exclude packages matching these glob patterns (empty by default) +# namespaces = false + [project.urls] "Homepage" = "https://git.cepl.eu/cgit/python/nntplib/" "Bug Tracker" = "https://lists.sr.ht/~mcepl/devel" diff --git a/src/__init__.py b/src/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/src/__init__.py +++ /dev/null diff --git a/src/nntplib.egg-info/PKG-INFO b/src/nntplib.egg-info/PKG-INFO deleted file mode 100644 index 284e596..0000000 --- a/src/nntplib.egg-info/PKG-INFO +++ /dev/null @@ -1,37 +0,0 @@ -Metadata-Version: 2.1 -Name: nntplib -Version: 0.1.2 -Summary: nntplib from Python 3 standard library as an independent module -Author-email: Matěj Cepl <mcepl@cepl.eu> -License: BSD-3-Clause -Project-URL: Homepage, https://git.cepl.eu/cgit/python/nntplib/ -Project-URL: Bug Tracker, https://lists.sr.ht/~mcepl/devel -Keywords: nntp -Classifier: Framework :: Django -Classifier: License :: OSI Approved :: Python Software Foundation License -Classifier: Topic :: Internet -Classifier: Topic :: Communications :: Usenet News -Classifier: Topic :: Software Development :: Libraries -Classifier: Programming Language :: Python :: 3 -Classifier: Development Status :: 3 - Alpha -Description-Content-Type: text/markdown -License-File: LICENSE -Requires-Dist: importlib-metadata; python_version < "3.8" - -nntplib library from Python 3 standard library as an independent module. - -Because `nntplib` is still a valid library in all relevant -versions of the standard library up to and including Python 3.12, -so when asking for it, the care should be made to avoid the -conflict. For example, use this line in your `pyproject.toml` -`project.dependencies` section: - -``` - 'nntplib; python_version>="3.12"' -``` - -All issues, questions, complaints, or (even better!) patches -should be send via email to -[~mcepl/devel@lists.sr.ht](mailto:~mcepl/devel@lists.sr.ht) email -list (for patches use [git -send-email](https://git-send-email.io/)). diff --git a/src/nntplib.egg-info/SOURCES.txt b/src/nntplib.egg-info/SOURCES.txt deleted file mode 100644 index 3cacd65..0000000 --- a/src/nntplib.egg-info/SOURCES.txt +++ /dev/null @@ -1,16 +0,0 @@ -CHANGES -LICENSE -MANIFEST.in -README.md -nntplib.rst -pyproject.toml -src/__init__.py -src/nntplib.py -src/nntplib.egg-info/PKG-INFO -src/nntplib.egg-info/SOURCES.txt -src/nntplib.egg-info/dependency_links.txt -src/nntplib.egg-info/requires.txt -src/nntplib.egg-info/top_level.txt -tests/__init__.py -tests/keycert3.pem -tests/test_nntplib.py
\ No newline at end of file diff --git a/src/nntplib.egg-info/dependency_links.txt b/src/nntplib.egg-info/dependency_links.txt deleted file mode 100644 index 8b13789..0000000 --- a/src/nntplib.egg-info/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/nntplib.egg-info/requires.txt b/src/nntplib.egg-info/requires.txt deleted file mode 100644 index 5c8c88b..0000000 --- a/src/nntplib.egg-info/requires.txt +++ /dev/null @@ -1,3 +0,0 @@ - -[:python_version < "3.8"] -importlib-metadata diff --git a/src/nntplib.egg-info/top_level.txt b/src/nntplib.egg-info/top_level.txt deleted file mode 100644 index 6ecd909..0000000 --- a/src/nntplib.egg-info/top_level.txt +++ /dev/null @@ -1,2 +0,0 @@ -__init__ -nntplib |