~jelmer/qbrz/relative

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Jelmer Vernooij
  • Date: 2020-01-07 00:52:22 UTC
  • Revision ID: jelmer@jelmer.uk-20200107005222-bz5rzcn9b85mb4av
Handle relative imports when __name__ is not set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
# RJL Patched out temporarily
14
14
try:
15
 
    from .extras import cmdclass
 
15
    from extras import cmdclass
16
16
except (ImportError, SystemError):
17
17
    cmdclass = {}
18
18
except ValueError: