changeset 373:26e46a3043e5 tip

fix paths in setup.py (sat_pubsub -> src)
author W. Martin Borgert <debacle@debian.org>
date Sun, 04 Mar 2018 21:06:23 +0100
parents d3d63653141d
children
files setup.py
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Wed Jun 27 07:49:03 2018 +0200
+++ b/setup.py	Sun Mar 04 21:06:23 2018 +0100
@@ -47,7 +47,7 @@
 
 import sys
 from setuptools import setup
-from sat_pubsub import __version__
+from src import __version__
 
 
 # seen here: http://stackoverflow.com/questions/7275295
@@ -87,13 +87,14 @@
       maintainer_email='goffi@goffi.org',
       url='http://repos.goffi.org/sat_pubsub',
       license='AGPLv3+',
-      package_dir={'sat_pubsub': 'src'},
+      package_dir={'sat_pubsub': 'src',
+                   'twisted': 'src/twisted'},
       packages=[
           'sat_pubsub',
           'sat_pubsub.test',
           'twisted.plugins',
       ],
-      package_data={'twisted.plugins': ['twisted/plugins/pubsub.py']},
+      package_data={'twisted.plugins': ['src/twisted/plugins/pubsub.py']},
       data_files=[('share/sat_pubsub', ['db/pubsub.sql'])],
       zip_safe=False,
       install_requires=install_requires,