commit 3245a5349a22c21a371c197168127ae5ef788f3a
parent 25c4ee9679ff3bf0a757cc713364f4832bdacf19
Author: Richard Ipsum <richardipsum@vx21.xyz>
Date: Wed, 27 Apr 2022 12:38:34 +0000
prepare 0.1.0 release
Diffstat:
D | README | | | 42 | ------------------------------------------ |
M | README.md | | | 4 | +--- |
D | setup.cfg | | | 24 | ------------------------ |
M | setup.py | | | 32 | ++++++++++++++++++++++++++++++-- |
4 files changed, 31 insertions(+), 71 deletions(-)
diff --git a/README b/README
@@ -1,42 +0,0 @@
-sparseutils
------------
-
-A collection of utilities for interacting with sparse files.
-
-Installation
-------------
-
-You can install sparseutils with pip,
-
-::
-
- % sudo pip3 install sparseutils
-
-alternatively you can clone the
-`source <http://git.gitano.org.uk/personal/richardipsum/sparseutils.git>`__
-and then run pip from within the git repo:
-
-::
-
- % sudo pip3 install .
-
-you can also run the tests from within the git repo using tox:
-
-::
-
- % tox
-
-Contributing
-------------
-
-To report an issue you can email me, please see the git log for the
-address.
-
-Patches welcome! To prepare a patch series:
-
-::
-
- % git format-patch --cover-letter -o patch -M origin/master
- % $EDITOR patch/0000-cover-letter.patch
- % git send-email patch
-
diff --git a/README.md b/README.md
@@ -10,7 +10,7 @@ You can install sparseutils with pip,
% sudo pip3 install sparseutils
-alternatively you can clone the [source]
+alternatively you can clone the [source](https://git.sr.ht/~richardipsum/sparseutils)
and then run pip from within the git repo:
% sudo pip3 install .
@@ -32,5 +32,3 @@ via email with git.
The archive of my public-inbox can be found at
https://lists.sr.ht/~richardipsum/public-inbox.
-
-[source]: https://git.sr.ht/~richardipsum/sparseutils
diff --git a/setup.cfg b/setup.cfg
@@ -1,24 +0,0 @@
-[metadata]
-name = sparseutils
-author = Richard Ipsum
-author-email = richardipsum@fastmail.co.uk
-summary = Utilities for interacting with sparse files
-description-file = README
-license = GPL3
-classifier =
- Development Status :: 3 - Alpha
- Environment :: Console
- Intended Audience :: Developers
- License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
- Operating System :: POSIX :: Linux
- Programming Language :: Python :: 3
- Topic :: Utilities
-keywords =
- sparse
-[files]
-packages =
- sparseutils
-[entry_points]
-console_scripts =
- sparsemap = sparseutils.sparsemap:main
- mksparse = sparseutils.mksparse:main
diff --git a/setup.py b/setup.py
@@ -2,7 +2,35 @@
from setuptools import setup
+with open("README.md", "r", encoding="utf-8") as fh:
+ long_description = fh.read()
+
+classifiers = [
+ 'Development Status :: 5 - Production/Stable',
+ 'Environment :: Console',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
+ 'Operating System :: POSIX :: Linux',
+ 'Programming Language :: Python :: 3',
+ 'Topic :: Utilities',
+]
+
setup(
- setup_requires=['pbr>=1.9'],
- pbr=True,
+ name='sparseutils',
+ author='Richard Ipsum',
+ author_email='richardipsum@vx21.xyz',
+ long_description=long_description,
+ long_description_content_type='text/markdown',
+ version='0.1.0',
+ description='Utilities for interacting with sparse files',
+ classifiers=classifiers,
+ keywords='sparse',
+ packages=['sparseutils'],
+ zip_safe=False,
+ entry_points= {
+ 'console_scripts': [
+ 'mksparse=sparseutils.mksparse:main',
+ 'sparsemap=sparseutils.sparsemap:main'
+ ]
+ },
)