mirror of
https://github.com/ilri/csv-metadata-quality.git
synced 2024-11-16 02:57:04 +01:00
Alan Orth
9100efdf50
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/
10 lines
129 B
Python
10 lines
129 B
Python
from csv_metadata_quality import app
|
|
from sys import argv
|
|
|
|
def main():
|
|
app.run(argv)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|