aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2018-07-27 02:01:26 +0200
committerThomas "Cakeisalie5" Touhey <thomas@touhey.fr>2018-07-27 02:01:26 +0200
commit9a4131b0740bd783930d5ef7765368928586dfc0 (patch)
treeb577094aa1b2a188c475ca388d301fdb02cdee40
parent902a23e23e500ee675a9e9f78a9dbaf82353e08b (diff)
Updated the metadata.
-rw-r--r--README.rst2
-rw-r--r--setup.cfg34
-rwxr-xr-xsetup.py29
3 files changed, 38 insertions, 27 deletions
diff --git a/README.rst b/README.rst
index 0a6cf9e..c1ed01d 100644
--- a/README.rst
+++ b/README.rst
@@ -31,4 +31,4 @@ What is left to do
.. _Planète Casio's forge:: https://gitea.planet-casio.com/
.. _Thomas' forge_:: https://forge.touhey.fr/pc/textout.git
-.. _the official website:: https://textout.touhey.fr/docs/
+.. _the official website:: https://textout.touhey.fr/
diff --git a/setup.cfg b/setup.cfg
index e57d130..913b8fc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,36 @@
+[metadata]
+name = textoutpc
+version = attr: textoutpc.version
+url = https://textout.touhey.fr/
+author = Thomas Touhey
+author_email = thomas@touhey.fr
+description = textout() equivalent from Planète Casio
+long_description = file: README.rst
+keywords = planète casio, textout, bbcode, translator, parser
+license = MIT
+classifiers =
+ Development Status :: 2 - Pre-Alpha
+ License :: OSI Approved :: MIT License
+ Natural Language :: French
+ Operating System :: OS Independent
+ Programming Language :: Python :: 3
+ Intended Audience :: Developers
+ Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
+ Topic :: Text Processing :: Markup :: HTML
+
+[options]
+zip_safe = False
+include_package_data = True
+packages = find:
+test_suite = test
+scripts =
+ scripts/textout2html
+ scripts/textout2lightscript
+install_requires =
+ regex
+
+[options.package_data]
+* = *.txt, *.rst
+
[wheel]
universal = True
diff --git a/setup.py b/setup.py
index ebcf7e6..e9230f2 100755
--- a/setup.py
+++ b/setup.py
@@ -5,33 +5,10 @@
#******************************************************************************
""" Setup script for the textoutpc Python package and script. """
-from setuptools import setup, find_packages
+from setuptools import setup
-setup(name='textoutpc',
- version='0.1',
- description='Textout() equivalent from Planète Casio',
- author='Thomas "Cakeisalie5" Touhey',
- author_email='thomas@touhey.fr',
- url='https://forge.touhey.fr/pc/textout.git/',
- license='MIT',
- keywords='planète casio textout bbcode translator parser',
+# Actually, most of the project's data is read from the `setup.cfg` file.
- packages=find_packages(),
- scripts=['textout2html', 'textout2lightscript'],
- test_suite="test",
-
- install_requires=['regex'],
-
- classifiers = [
- 'Development Status :: 2 - Pre-Alpha',
- 'License :: OSI Approved :: MIT License',
- 'Natural Language :: French',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python :: 3',
- 'Intended Audience :: Developers',
- 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
- 'Topic :: Text Processing :: Markup :: HTML'
- ]
-)
+setup()
# End of file.