mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-10-01 13:58:12 +08:00
refactor to allow use with console entry points
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import os
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
def parse_requirements():
|
||||
reqs = []
|
||||
with open("requirements.txt", "r") as f:
|
||||
for l in f.readlines():
|
||||
reqs.append(l.strip("\n"))
|
||||
return reqs
|
||||
|
||||
|
||||
install_reqs = parse_requirements()
|
||||
|
||||
setup(
|
||||
# mandatory
|
||||
name="cellxgene-gateway",
|
||||
# mandatory
|
||||
version="0.1",
|
||||
# mandatory
|
||||
author="Niket Patel, Yohann Potier, Alok Saldanha",
|
||||
author_email="alok.saldanha@novartis.com",
|
||||
description=("Cell-by-gene Gateway"),
|
||||
license="MIT",
|
||||
keywords="visualization, genomics",
|
||||
url="http://github.com/Novartis/cellxgene-gateway",
|
||||
packages=["cellxgene_gateway"],
|
||||
package_data={"": ["README.md", "LICENSE.txt"]},
|
||||
install_requires=install_reqs,
|
||||
entry_points={
|
||||
"console_scripts": ["cellxgene-gateway=cellxgene_gateway.gateway:main"]
|
||||
},
|
||||
classifiers=["Topic :: Scientific/Engineering :: Visualization"],
|
||||
)
|
||||
Reference in New Issue
Block a user