Commit f2aed125 authored by Marcel Rieger's avatar Marcel Rieger

Add pypi setup files.

parent 164bf17b
# coding: utf-8
import os
import setuptools
import lbn
this_dir = os.path.dirname(os.path.abspath(__file__))
keywords = [
"neural network", "lorentz", "lorentz transformation", "lorentz boost", "autonomous", "feature",
"feature engineering", "autonomous engineering", "hep", "four momenta", "four vectors",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
]
# read the readme file
with open(os.path.join(this_dir, "README.md"), "r") as f:
long_description = f.read()
# load installation requirements
with open(os.path.join(this_dir, "requirements.txt"), "r") as f:
install_requires = [line.strip() for line in f.readlines() if line.strip()]
setuptools.setup(
name=lbn.__name__,
version=lbn.__version__,
author=lbn.__author__,
author_email=lbn.__email__,
description=lbn.__doc__.strip(),
license=lbn.__license__,
url=lbn.__contact__,
keywords=keywords,
classifiers=classifiers,
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=install_requires,
python_requires=">=2.7",
zip_safe=False,
py_modules=[lbn.__name__],
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