Skip to content

Commit

Permalink
chore: auto-format setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
theHamsta committed Aug 22, 2023
1 parent a42e0da commit aa92428
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions setup.py
Expand Up @@ -15,17 +15,18 @@

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'


def setup_package():
needs_sphinx = {'build_sphinx', 'upload_docs'}.intersection(sys.argv)
sphinx = ['sphinx'] if needs_sphinx else []
if not on_rtd:
setup(setup_requires=['six', 'pyscaffold>=2.5a0,<2.6a0'] + sphinx,
use_pyscaffold=True)
use_pyscaffold=True)
else:
setup(setup_requires=['six', 'pyscaffold>=2.5a0,<2.6a0'] + sphinx,
install_requires=[],
tests_require=[],
use_pyscaffold=True)
install_requires=[],
tests_require=[],
use_pyscaffold=True)


if __name__ == "__main__":
Expand Down

0 comments on commit aa92428

Please sign in to comment.