-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 869 Bytes
/
setup.py
File metadata and controls
33 lines (28 loc) · 869 Bytes
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
31
32
33
import os
import sys
import zipfile
from setuptools import setup
from setuptools.command.install import install
def read_file(filename):
with open(filename, encoding='utf-8') as f:
return f.read()
install_requires = read_file("requirements.txt").splitlines()
version = {}
with open("modelflows/version.py") as fp:
exec(fp.read(), version)
setup(
name="modelflows",
version=version['__version__'],
author="Marc Hon",
packages=["modelflows"],
package_data={
'modelflows': ['data/scaler/*'],
},
include_package_data=True,
description="Conditional normalizing flows for emulating grids of stellar models",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/mtyhon/modelflows",
license="MIT",
install_requires=install_requires,
)