Skip to content

Commit b05f102

Browse files
committed
Run black formatting on setup.py.
Run black formatting on setup.py.
1 parent b979209 commit b05f102

File tree

1 file changed

+32
-29
lines changed

1 file changed

+32
-29
lines changed

setup.py

+32-29
Original file line numberDiff line numberDiff line change
@@ -43,50 +43,53 @@ def read(*names, **kwargs):
4343
4444
"""
4545
fn = os.path.join(os.path.dirname(__file__), *names)
46-
with io.open(fn, encoding=kwargs.get('encoding', 'utf8')) as fd:
46+
with io.open(fn, encoding=kwargs.get("encoding", "utf8")) as fd:
4747
return fd.read()
4848

4949

5050
def read_requirements(fname):
51-
with open(fname, 'r', encoding='utf-8') as file:
51+
with open(fname, "r", encoding="utf-8") as file:
5252
return [line.rstrip() for line in file]
5353

5454

5555
setuptools.setup(
56-
name='pyscenic',
56+
name="pyscenic",
5757
version=versioneer.get_version(),
5858
cmdclass=versioneer.get_cmdclass(),
5959
description="Python implementation of the SCENIC pipeline for transcription factor inference from single-cell transcriptomics experiments.",
60-
long_description=read('README.rst'),
60+
long_description=read("README.rst"),
6161
classifiers=[
6262
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
63-
'Development Status :: 4 - Beta',
64-
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
65-
'Natural Language :: English',
66-
'Operating System :: POSIX',
67-
'Programming Language :: Python',
68-
'Programming Language :: Python :: 3',
69-
'Programming Language :: Python :: 3.5',
70-
'Programming Language :: Python :: 3.6',
71-
'Programming Language :: Python :: Implementation :: CPython',
63+
"Development Status :: 4 - Beta",
64+
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
65+
"Natural Language :: English",
66+
"Operating System :: POSIX",
67+
"Programming Language :: Python",
68+
"Programming Language :: Python :: 3",
69+
"Programming Language :: Python :: 3.5",
70+
"Programming Language :: Python :: 3.6",
71+
"Programming Language :: Python :: Implementation :: CPython",
7272
],
7373
python_requires=">=3.6",
74-
keywords='single-cell transcriptomics gene-regulatory-network transcription-factors',
74+
keywords="single-cell transcriptomics gene-regulatory-network transcription-factors",
7575
author="Bram Van de Sande",
76-
url='https://github.com/aertslab/pySCENIC',
77-
license='GPL-3.0+',
78-
packages=setuptools.find_packages(where='src'),
79-
package_dir={'': 'src'},
80-
py_modules=[os.path.splitext(os.path.basename(path))[0] for path in glob.glob('src/*.py')],
76+
url="https://github.com/aertslab/pySCENIC",
77+
license="GPL-3.0+",
78+
packages=setuptools.find_packages(where="src"),
79+
package_dir={"": "src"},
80+
py_modules=[
81+
os.path.splitext(os.path.basename(path))[0] for path in glob.glob("src/*.py")
82+
],
8183
include_package_data=True,
82-
install_requires=read_requirements('requirements.txt'),
83-
scripts=['src/pyscenic/cli/arboreto_with_multiprocessing.py'],
84-
entry_points = {
85-
'console_scripts': ['pyscenic = pyscenic.cli.pyscenic:main',
86-
'db2feather = pyscenic.cli.db2feather:main',
87-
'csv2loom = pyscenic.cli.csv2loom:main',
88-
'invertdb = pyscenic.cli.invertdb:main',
89-
'gmt2regions = pyscenic.cli.gmt2regions:main'],
90-
}
84+
install_requires=read_requirements("requirements.txt"),
85+
scripts=["src/pyscenic/cli/arboreto_with_multiprocessing.py"],
86+
entry_points={
87+
"console_scripts": [
88+
"pyscenic = pyscenic.cli.pyscenic:main",
89+
"db2feather = pyscenic.cli.db2feather:main",
90+
"csv2loom = pyscenic.cli.csv2loom:main",
91+
"invertdb = pyscenic.cli.invertdb:main",
92+
"gmt2regions = pyscenic.cli.gmt2regions:main",
93+
],
94+
},
9195
)
92-

0 commit comments

Comments
 (0)