• Description
  • Patches
id

371:c55cddd1f59e

publisher

goffi@goffi.org/ce0d354b-5d46-4b34-ae62-2ea16eccad01

title
fix paths in setup.py (sat_pubsub -> src)
author
W. Martin Borgert
created
 
updated
2018-06-27T05:57:57Z
labels
status
closed
body

fix paths in setup.py (sat_pubsub -> src)

comments_uri
xmpp:pubsub.goffi.org?;node=urn%3Axmpp%3Amicroblog%3A0%3Acomments%2Forg.salut-a-toi.merge_requests%3A0_371%3Ac55cddd1f59e

Click to reduce…

merged, thanks !

Click to expand… Click to reduce…

You are not logged. You need to log in to comment.

W. Martin Borgert

fix paths in setup.py (sat_pubsub -> src)

diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -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,