1
0
mirror of https://github.com/ilri/csv-metadata-quality.git synced 2024-07-01 10:33:46 +02:00
csv-metadata-quality/csv_metadata_quality/__main__.py
Alan Orth 9100efdf50
Re-work as a proper standalone Python package
Add a setup.py so that installation is easier and a standalone CLI
script called csv-metadata-quality is provided. Now the user only
needs to run this from a virtual environment inside the project
directory:

    $ pip install .

Eventually I could publish this on PyPi when I settle on a more
appropriate package name.

See: https://packaging.python.org/tutorials/packaging-projects/
See: https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
2019-07-31 17:34:36 +03:00

10 lines
129 B
Python

from csv_metadata_quality import app
from sys import argv
def main():
app.run(argv)
if __name__ == '__main__':
main()