Commit 7653d396 authored by Marcel Rieger's avatar Marcel Rieger

Update packaging.

parent c57cdea9
Pipeline #107098 passed with stages
in 35 seconds
# coding: utf-8
"""
TensorFlow implementation of the Lorentz Boost Network (LBN). https://arxiv.org/abs/1812.09722.
"""
__author__ = "Marcel Rieger"
__copyright__ = "Copyright 2018-2019, Marcel Rieger"
__license__ = "BSD"
__credits__ = ["Martin Erdmann", "Erik Geiser", "Yannik Rath", "Marcel Rieger"]
__contact__ = "https://git.rwth-aachen.de/3pia/lbn"
__email__ = "marcel.rieger@cern.ch"
__version__ = "1.0.1"
......@@ -5,14 +5,6 @@ TensorFlow implementation of the Lorentz Boost Network (LBN). https://arxiv.org/
"""
__author__ = "Marcel Rieger"
__copyright__ = "Copyright 2018-2019, Marcel Rieger"
__license__ = "BSD"
__credits__ = ["Martin Erdmann", "Erik Geiser", "Yannik Rath", "Marcel Rieger"]
__contact__ = "https://git.rwth-aachen.de/3pia/lbn"
__email__ = "marcel.rieger@cern.ch"
__version__ = "1.0.1"
__all__ = ["LBN", "FeatureFactoryBase", "FeatureFactory"]
......
......@@ -34,14 +34,20 @@ with open(os.path.join(this_dir, "README.md"), "r") as f:
with open(os.path.join(this_dir, "requirements.txt"), "r") as f:
install_requires = [line.strip() for line in f.readlines() if line.strip()]
# load package infos
pkg = {}
with open(os.path.join(this_dir, "__version__.py"), "r") as f:
exec(f.read(), pkg)
setuptools.setup(
name=lbn.__name__,
version=lbn.__version__,
author=lbn.__author__,
author_email=lbn.__email__,
description=lbn.__doc__.strip().split("\n")[0].strip(),
license=lbn.__license__,
url=lbn.__contact__,
name="lbn",
version=pkg["__version__"],
author=pkg["__author__"],
author_email=pkg["__email__"],
description=pkg["__doc__"].strip().split("\n")[0].strip(),
license=pkg["__license__"],
url=pkg["__contact__"],
keywords=keywords,
classifiers=classifiers,
long_description=long_description,
......@@ -49,6 +55,6 @@ setuptools.setup(
install_requires=install_requires,
python_requires=">=2.7",
zip_safe=False,
py_modules=[lbn.__name__],
py_modules=["lbn"],
data_files=[(".", ["LICENSE", "requirements.txt", "README.md"])],
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment