diff --git a/Makefile b/Makefile index 81cf16a..53fec51 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,8 @@ build: @pip install --upgrade build @python -m build +# Ensure you update first the version number in `setup.py`, +# `pyproject.py`, and `docs/_source/conf.py` upload: build @twine upload --repository pypi dist/* @rm -rf dist diff --git a/setup.py b/setup.py index a763c48..ae9bc3d 100644 --- a/setup.py +++ b/setup.py @@ -1,43 +1,47 @@ from setuptools import setup, find_packages -with open('README.md', 'r') as f: - long_description = f.read() +with open("README.md", "r") as f: + long_description = f.read() -setup(name = 'kosmatau3d', - version = '1.0.6', - description = 'package for the subgrid modelling of photo-dissociation regions using KOSMA-tau', - url = 'https://git.ph1.uni-koeln.de/yanitski/kosma-tau-3d', - author = 'C.N. Yanitski', - author_email = 'yanitski@ph1.uni-koeln.de', - long_description = long_description, - long_description_content_type = "text/markdown", - classifiers = ["Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], - packages = find_packages(exclude=('docs','graphics','history','tests')), - # external packages as dependencies - # dependency_links = ['https://github.com/skabanovic/astrokit'], - install_requires = [#'astrokit @ git+https://github.com/skabanovic/astrokit.git', - 'astropy', - 'cygrid', - 'dill', - 'jupyter-book', - 'jupyterlab', - 'matplotlib', - 'numba>=0.49.1', - 'numpy', - 'pandas', - # 'pyqt5', - 'scikit-learn', - 'scipy', - 'spectres', - 'sphinx', - 'sphinx-autoapi', - 'sympy', - 'tqdm', - ], - include_package_data = True, - package_data = {'': ['grid/*.dat', 'input/*/*.dat', 'molecular_data/*', 'preamble/*']}, - python_requires = ">=3.6" +setup( + name="kosmatau3d", + version="1.0.7", + description="package for the subgrid modelling of photo-dissociation regions using KOSMA-tau", + url="https://git.ph1.uni-koeln.de/yanitski/kosma-tau-3d", + author="C.N. Yanitski", + author_email="yanitski@ph1.uni-koeln.de", + long_description=long_description, + long_description_content_type="text/markdown", + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + ], + packages=find_packages(exclude=("docs", "graphics", "history", "tests")), + # external packages as dependencies + # dependency_links = ['https://github.com/skabanovic/astrokit'], + install_requires=[ #'astrokit @ git+https://github.com/skabanovic/astrokit.git', + "astropy", + "cygrid", + "dill", + "jupyter-book", + "jupyterlab", + "matplotlib", + "numba>=0.49.1", + "numpy", + "pandas", + # 'pyqt5', + "scikit-learn", + "scipy", + "spectres", + "sphinx", + "sphinx-autoapi", + "sympy", + "tqdm", + ], + include_package_data=True, + package_data={ + "": ["grid/*.dat", "input/*/*.dat", "molecular_data/*", "preamble/*"] + }, + python_requires=">=3.6", )