From 63c4c88ea5dea70962a8bb9d57958e85eea19a45 Mon Sep 17 00:00:00 2001 From: Remi Lehe Date: Wed, 26 Apr 2023 17:13:57 -0700 Subject: [PATCH] Add version number for lasy (#131) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Axel Huebl --- lasy/__init__.py | 1 + setup.py | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/lasy/__init__.py b/lasy/__init__.py index e69de29b..3dc1f76b 100644 --- a/lasy/__init__.py +++ b/lasy/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1.0" diff --git a/setup.py b/setup.py index 853f8fd9..a6c1e4d6 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,9 @@ from setuptools import find_packages, setup +import lasy # In order to extract the version number + +# README file is long description +with open("./README.md", encoding="utf-8") as f: + long_description = f.read() # Get the package requirements from the requirements.txt files install_requires = [] @@ -10,11 +15,37 @@ setup( name="lasy", + version=lasy.__version__, packages=find_packages("."), description="LAser pulse manipulation made eaSY", + long_description=long_description, + long_description_content_type="text/markdown", + author="Rob Shalloo, Maxence Thevenet, Remi Lehe, Axel Huebl, Igor Adriyash, Soeren Jalas, Angel Ferran Pousa, Luca Fedeli", + # author_email='', + maintainer="Maxence Thevenet, Remi Lehe, Axel Huebl", + maintainer_email="maxence.thevenet@desy.de, rlehe@lbl.gov, axelhuebl@lbl.gov", + python_requires=">=3.7", install_requires=install_requires, tests_require=tests_require, extras_require={ "tests": tests_require, }, + url="https://github.com/LASY-org/lasy", + project_urls={ + "Documentation": "https://lasydoc.readthedocs.io", + "Source": "https://github.com/LASY-org/lasy", + "Tracker": "https://github.com/LASY-org/lasy/issues", + }, + classifiers=[ + "Development Status :: 3 - Alpha", + "Natural Language :: English", + "Environment :: Console", + "Intended Audience :: Science/Research", + "Operating System :: OS Independent", + "Topic :: Scientific/Engineering", + "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", + ], + license="BSD-3-Clause-LBNL", + license_files=["license.txt", "legal.txt"], )