Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2018-12-21 15:21:51 +0300
committerPhilipp Hörist <philipp@hoerist.com>2018-12-21 15:21:51 +0300
commit9da76c1bfd76c8f85c216c488b36f994b280be05 (patch)
treee3104a45b796382fbdeb13d67fa12c9aa273785f
parent8eb805d23e34e3bc2737d7469384f710db428cff (diff)
Move code into setup.cfg
-rw-r--r--setup.cfg19
-rwxr-xr-xsetup.py9
2 files changed, 20 insertions, 8 deletions
diff --git a/setup.cfg b/setup.cfg
index 074c015..7ad4776 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,21 @@
[metadata]
+name = nbxmpp
+version = attr: nbxmpp.__version__
+description = Non blocking Jabber/XMPP module
+author = Yann Leboulanger, Philipp Hoerist
+author_email = gajim-devel@gajim.org
+url = http://dev.gajim.org/gajim/python-nbxmpp
license_file = COPYING
+license = GPL v3
+classifiers =
+ Programming Language :: Python :: 3
+
+[options]
+python_requires = >=3.5
+packages = find:
+install_requires =
+ precis-i18n>=1.0.0
+
+[options.packages.find]
+exclude =
+ test*
diff --git a/setup.py b/setup.py
index 9b28e52..beda28e 100755
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,4 @@
from setuptools import setup
-setup(name='nbxmpp',
- version='0.9.90.2',
- description='Non blocking Jabber/XMPP module',
- author='Yann Leboulanger',
- author_email='asterix@lagaule.org',
- url='http://dev.gajim.org/gajim/python-nbxmpp',
- packages=['nbxmpp', 'nbxmpp.modules'],
- )
+setup()