aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 33c9261..99fa20e 100644
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,12 @@
#!/usr/bin/python
+# -*- coding: utf-8 -*-
+from __future__ import print_function
import unittest
import sys
from distutils.core import setup, Extension, Command
from distutils.command.build_ext import build_ext
from subprocess import check_call
+from mail2news import VERSION, DESC
class RunTests(Command):
@@ -49,11 +52,12 @@ wlp_module = Extension('wlp',
'wlp/commands.tab.c',
'wlp/lex.yy.c'])
+
setup(name='pyg',
- version='0.9.9', # the current Debian version is 0.9.8
- author="Cosimo Alfarano",
- author_email="kalfa@debian.org", # FIXME I am an contributor?
- description='Python Mail <-> News Gateway',
+ version=VERSION, # the current Debian version is 0.9.8
+ author="Cosimo Alfarano, Matej Cepl",
+ author_email="kalfa@debian.org, mcepl@cepl.eu",
+ description=DESC,
long_description='''
Python Gateway Script from news to mail and vice versa.
@@ -73,7 +77,7 @@ setup(name='pyg',
It refers to rfc 822 (mail) and 850 (news).
''',
- py_modules=['mail2news', 'news2mail', 'pyginfo', 'setup', 'whitelist'],
+ py_modules=['mail2news', 'news2mail', 'setup', 'whitelist'],
ext_modules=[wlp_module],
scripts=['pygm2n', 'pygn2m'],
cmdclass={'build_ext': Build_WLP_ext,