1. benny daon
  2. Hatta mirror

Commits

Radomir Dopieralski  committed d8a3abd

fix setup.py to match the new code structure

  • Participants
  • Parent commits 9d8875c
  • Branches default

Comments (0)

Files changed (1)

File setup.py

View file
     description=hatta.project_description,
     long_description=hatta.__doc__,
     keywords='wiki wsgi web mercurial repository',
-    py_modules=['hatta'],
+    packages=['hatta'],
     data_files=[
         ('share/locale/ar/LC_MESSAGES', ['locale/ar/LC_MESSAGES/hatta.mo']),
         ('share/locale/da/LC_MESSAGES', ['locale/da/LC_MESSAGES/hatta.mo']),
         ]),
     ],
     platforms='any',
-    requires=['werkzeug (>=0.3)', 'mercurial (>=1.0)',
-             'pybonjour (>=1.1.1)'],
-    setup_requires=['pybonjour'],
+    requires=['werkzeug (>=0.3)', 'mercurial (>=1.0)'],
     classifiers=[
         'License :: OSI Approved :: GNU General Public License (GPL)',
         'Intended Audience :: Developers',
 
 if __name__ == '__main__':
     setup(**config)
-    try:
-        import pybonjour
-    except ImportError:
-        print u'*** Warning ***'
-        print u'Please install pybonjour to build a full-featured binary.'