From 6ced7085193affa636f229e72dc19175a3a06cfe Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 8 Mar 2024 02:37:00 +0300 Subject: Update packaging and distribution declarations. --- MANIFEST.in | 2 ++ setup.cfg | 26 -------------------------- setup.py | 35 +++++++++++++++++++++++++++++++++-- 3 files changed, 35 insertions(+), 28 deletions(-) delete mode 100644 setup.cfg diff --git a/MANIFEST.in b/MANIFEST.in index c227457..7a596a6 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ include README.org recursive-include etc *.py *.csv +recursive-include qc_app/static *.js *.css +recursive-include qc_app/templates *.html recursive-exclude tests/ *.py *.tsv *.csv \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 3e579e0..0000000 --- a/setup.cfg +++ /dev/null @@ -1,26 +0,0 @@ -[metadata] -name = qc -version = 0.0.1 -author = Frederick M. Muriithi -author_email = not@my.email -description = Quality control app for average and standard-error files -long_description = file: README.org -long_description_content_type = text/org -url = http://git.genenetwork.org/fredmanglis/gnqc_py - -[options] -packages = - etc - scripts - quality_control -install_requires = - redis - Flask - jsonpickle - mysqlclient -exclude = tests* -include_package_data = True - -[options.entry_points] -console_scripts = - qc = scripts.qc:main \ No newline at end of file diff --git a/setup.py b/setup.py index 24c0a25..5b2e9fb 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,35 @@ """The setup module""" -from setuptools import setup +from setuptools import setup, find_packages -setup() +LONG_DESCRIPTION=""" +gn-uploader is a service allowing upload of new data into GeneNetwork. It +performs quality control on the data that is being uploaded to ensure it meets +all conditions before it can be accepted. +""" + +setup( + name="gn-uploader", + version="0.1.0", + description="Data uploader and quality-control application.", + long_description=LONG_DESCRIPTION, + long_description_content_type="text/plain", + author="Frederick M. Muriithi", + author_email="fredmanglis@gmail.com", + url="https://git.genenetwork.org/gn-uploader", + include_package_data=True, + packages=find_packages( + where=".", exclude=("tests", "tests.*")), + scripts=[], + license="AGPLV3", + install_requires=[ + "redis", + "Flask", + "pyyaml", + "gunicorn", + "jsonpickle", + "mysqlclient"], + tests_require=[ + "mypy", + "pylint", + "pytest", + "hypothesis"]) -- cgit v1.2.3