Commit a3549674 authored by Marcel Rieger's avatar Marcel Rieger

Add numpy and tensorflow to requirements.

parent 7653d396
Pipeline #107099 passed with stages
in 33 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,6 +5,14 @@ TensorFlow implementation of the Lorentz Boost Network (LBN). https://arxiv.org/ ...@@ -5,6 +5,14 @@ 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"] __all__ = ["LBN", "FeatureFactoryBase", "FeatureFactory"]
......
...@@ -34,20 +34,14 @@ with open(os.path.join(this_dir, "README.md"), "r") as f: ...@@ -34,20 +34,14 @@ with open(os.path.join(this_dir, "README.md"), "r") as f:
with open(os.path.join(this_dir, "requirements.txt"), "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()] 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( setuptools.setup(
name="lbn", name=lbn.__name__,
version=pkg["__version__"], version=lbn.__version__,
author=pkg["__author__"], author=lbn.__author__,
author_email=pkg["__email__"], author_email=lbn.__email__,
description=pkg["__doc__"].strip().split("\n")[0].strip(), description=lbn.__doc__.strip().split("\n")[0].strip(),
license=pkg["__license__"], license=lbn.__license__,
url=pkg["__contact__"], url=lbn.__contact__,
keywords=keywords, keywords=keywords,
classifiers=classifiers, classifiers=classifiers,
long_description=long_description, long_description=long_description,
...@@ -55,6 +49,6 @@ setuptools.setup( ...@@ -55,6 +49,6 @@ setuptools.setup(
install_requires=install_requires, install_requires=install_requires,
python_requires=">=2.7", python_requires=">=2.7",
zip_safe=False, zip_safe=False,
py_modules=["lbn"], py_modules=[lbn.__name__],
data_files=[(".", ["LICENSE", "requirements.txt", "README.md"])], 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