diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 54e9c99..f337364 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -40,3 +40,6 @@ jobs: - name: Test the code demo run: | python -m galcheat + - name: Test the console script + run: | + galcheat diff --git a/setup.py b/setup.py index 29b6a2c..6ca9d6e 100644 --- a/setup.py +++ b/setup.py @@ -4,18 +4,17 @@ setup( name="galcheat", - version="0.0.2", + version="0.0.3", url="https://github.com/aboucaud/galcheat/", description="Tiny library of galaxy surveys most useful parameters (with units)", long_description=open("README.md").read(), long_description_content_type="text/markdown", - author="BlendingToolKit developers", + author="Alexandre Boucaud", author_email="aboucaud@apc.in2p3.fr", - maintainer="Alexandre Boucaud", packages=["galcheat"], - package_dir={"galcheat": "galcheat"}, package_data={"galcheat": ["data/*.yaml"]}, include_package_data=True, + entry_points={"console_scripts": ["galcheat = galcheat.__main__:main"]}, install_requires=["astropy", "pyyaml"], python_requires=">=3.7", license="MIT",