diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/Readme.md b/README.md similarity index 100% rename from Readme.md rename to README.md diff --git a/cellxgene_gateway/filecrawl.py b/cellxgene_gateway/filecrawl.py index 496b38e..b1fa7cc 100644 --- a/cellxgene_gateway/filecrawl.py +++ b/cellxgene_gateway/filecrawl.py @@ -1,3 +1,12 @@ +# 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 from cellxgene_gateway import env from cellxgene_gateway.dir_util import make_h5ad, make_annotations, annotations_suffix diff --git a/cellxgene_gateway/flask_util.py b/cellxgene_gateway/flask_util.py index 9727220..112999f 100644 --- a/cellxgene_gateway/flask_util.py +++ b/cellxgene_gateway/flask_util.py @@ -1,3 +1,12 @@ +# 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 def querystring(): diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..b88034e --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md diff --git a/setup.py b/setup.py index 5cb086c..f40ce9a 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,6 @@ import os from setuptools import setup - def parse_requirements(): reqs = [] with open("requirements.txt", "r") as f: @@ -9,6 +8,8 @@ def parse_requirements(): reqs.append(l.strip("\n")) return reqs +with open("README.md", "r") as fh: + long_description = fh.read() install_reqs = parse_requirements() @@ -21,6 +22,8 @@ setup( author="Niket Patel, Yohann Potier, Alok Saldanha", author_email="alok.saldanha@novartis.com", description=("Cellxgene Gateway"), + long_description=long_description, + long_description_content_type="text/markdown", license="MIT", keywords="visualization, genomics", url="http://github.com/Novartis/cellxgene-gateway", @@ -31,10 +34,11 @@ setup( "static/nibr.ico", "templates/*.html" ]}, - data_files=[('', ['Readme.md', 'LICENSE.txt'])], + data_files=[('', ['README.md', 'LICENSE'])], install_requires=install_reqs, entry_points={ "console_scripts": ["cellxgene-gateway=cellxgene_gateway.gateway:main"] }, classifiers=["Topic :: Scientific/Engineering :: Visualization"], + python_requires='>=3.6', )