diff options
author | Frederick Muriuki Muriithi | 2024-03-08 02:37:00 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-03-08 02:48:10 +0300 |
commit | 6ced7085193affa636f229e72dc19175a3a06cfe (patch) | |
tree | 98f21fb4b267e93f1fb155684a6804d297e454d9 | |
parent | fc59312e3ff124f76c0646a5ce88b419ca3621bb (diff) | |
download | gn-uploader-6ced7085193affa636f229e72dc19175a3a06cfe.tar.gz |
Update packaging and distribution declarations.
-rw-r--r-- | MANIFEST.in | 2 | ||||
-rw-r--r-- | setup.cfg | 26 | ||||
-rw-r--r-- | setup.py | 35 |
3 files changed, 35 insertions, 28 deletions
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 @@ -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"]) |