mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-10-11 00:40:55 +08:00
spruce up setup.py
Mark version 0.1.0 Add python_requires add long_description
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
def parse_requirements():
|
def parse_requirements():
|
||||||
reqs = []
|
reqs = []
|
||||||
with open("requirements.txt", "r") as f:
|
with open("requirements.txt", "r") as f:
|
||||||
@@ -9,6 +8,8 @@ def parse_requirements():
|
|||||||
reqs.append(l.strip("\n"))
|
reqs.append(l.strip("\n"))
|
||||||
return reqs
|
return reqs
|
||||||
|
|
||||||
|
with open("README.md", "r") as fh:
|
||||||
|
long_description = fh.read()
|
||||||
|
|
||||||
install_reqs = parse_requirements()
|
install_reqs = parse_requirements()
|
||||||
|
|
||||||
@@ -16,11 +17,13 @@ setup(
|
|||||||
# mandatory
|
# mandatory
|
||||||
name="cellxgene-gateway",
|
name="cellxgene-gateway",
|
||||||
# mandatory
|
# mandatory
|
||||||
version="0.1",
|
version="0.1.0",
|
||||||
# mandatory
|
# mandatory
|
||||||
author="Niket Patel, Yohann Potier, Alok Saldanha",
|
author="Niket Patel, Yohann Potier, Alok Saldanha",
|
||||||
author_email="alok.saldanha@novartis.com",
|
author_email="alok.saldanha@novartis.com",
|
||||||
description=("Cellxgene Gateway"),
|
description=("Cellxgene Gateway"),
|
||||||
|
long_description=long_description,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
license="MIT",
|
license="MIT",
|
||||||
keywords="visualization, genomics",
|
keywords="visualization, genomics",
|
||||||
url="http://github.com/Novartis/cellxgene-gateway",
|
url="http://github.com/Novartis/cellxgene-gateway",
|
||||||
@@ -37,4 +40,5 @@ setup(
|
|||||||
"console_scripts": ["cellxgene-gateway=cellxgene_gateway.gateway:main"]
|
"console_scripts": ["cellxgene-gateway=cellxgene_gateway.gateway:main"]
|
||||||
},
|
},
|
||||||
classifiers=["Topic :: Scientific/Engineering :: Visualization"],
|
classifiers=["Topic :: Scientific/Engineering :: Visualization"],
|
||||||
|
python_requires='>=3.6',
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user