Compare commits

..
Author SHA1 Message Date
Alok Saldanha 60643e796f updated import to reflect change in werkzeug api 2020-03-23 03:47:33 -04:00
9 changed files with 6 additions and 30 deletions
View File
View File
-9
View File
@@ -1,12 +1,3 @@
# Copyright 2019 Novartis Institutes for BioMedical Research Inc. Licensed
# under the Apache License, Version 2.0 (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless
# required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
# the specific language governing permissions and limitations under the License.
import os import os
from cellxgene_gateway import env from cellxgene_gateway import env
from cellxgene_gateway.dir_util import make_h5ad, make_annotations, annotations_suffix from cellxgene_gateway.dir_util import make_h5ad, make_annotations, annotations_suffix
-9
View File
@@ -1,12 +1,3 @@
# Copyright 2019 Novartis Institutes for BioMedical Research Inc. Licensed
# under the Apache License, Version 2.0 (the "License"); you may not use
# this file except in compliance with the License. You may obtain a copy
# of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless
# required by applicable law or agreed to in writing, software distributed
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
# the specific language governing permissions and limitations under the License.
from flask import request from flask import request
def querystring(): def querystring():
+1 -1
View File
@@ -9,7 +9,7 @@
class ProcessException(Exception): class ProcessException(Exception):
def __init__(self, message, stdout, stderr, http_status, key): def __init__(self, message, stdout, stderr, http_status, dataset):
Exception.__init__(self) Exception.__init__(self)
self.message = message self.message = message
self.stdout = stdout self.stdout = stdout
+1 -1
View File
@@ -8,4 +8,4 @@ dependencies:
- psutil - psutil
- pip: - pip:
- flask-api - flask-api
- cellxgene==0.14.1 - cellxgene
+1 -1
View File
@@ -1,4 +1,4 @@
cellxgene==0.14.1 cellxgene
flask flask
flask_api flask_api
psutil psutil
-2
View File
@@ -1,2 +0,0 @@
[metadata]
description-file = README.md
+3 -7
View File
@@ -1,6 +1,7 @@
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:
@@ -8,8 +9,6 @@ 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()
@@ -17,13 +16,11 @@ setup(
# mandatory # mandatory
name="cellxgene-gateway", name="cellxgene-gateway",
# mandatory # mandatory
version="0.1.0", version="0.1",
# 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",
@@ -34,11 +31,10 @@ setup(
"static/nibr.ico", "static/nibr.ico",
"templates/*.html" "templates/*.html"
]}, ]},
data_files=[('', ['README.md', 'LICENSE'])], data_files=[('', ['Readme.md', 'LICENSE.txt'])],
install_requires=install_reqs, install_requires=install_reqs,
entry_points={ entry_points={
"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',
) )