-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (25 loc) · 873 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from setuptools import setup, find_packages
# Doing it as suggested here:
# https://packaging.python.org/guides/single-sourcing-package-version/
# (number 3)
version = {}
with open("mcmala/version.py") as fp:
exec(fp.read(), version)
with open("README.md") as f:
readme = f.read()
with open("LICENSE") as f:
license = f.read()
setup(
name="mcmala",
version=version["__version__"],
description=("Monte-Carlo fo Materials Learning Algorithms. "
"A Monte-Carlo frontend for MALA."),
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/mala-project/mcmala",
author="MALA developers",
license=license,
packages=find_packages(exclude=("test", "docs", "examples", "install")),
zip_safe=False,
install_requires=open('requirements.txt').read().splitlines(),
)