We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ffc885 commit d68d53eCopy full SHA for d68d53e
setup.py
@@ -1,7 +1,7 @@
1
from setuptools import setup, find_packages
2
from os import path
3
4
-pkg_name = [p for p in find_packages() if '.' not in p][0]
+pkg_name = next(p for p in find_packages() if '.' not in p)
5
here = path.abspath(path.dirname(__file__))
6
7
with open(path.join(here, 'README.md'), 'r') as f:
0 commit comments