-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 706 Bytes
/
Copy pathsetup.py
File metadata and controls
28 lines (24 loc) · 706 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
def readfile(filename):
with open(filename, encoding="utf-8") as fp:
filecontents = fp.read()
return filecontents
setup(
name="nnest",
version="0.4.2",
description="Neural network nested sampling",
author="Adam Moss",
author_email="adam.moss@nottingham.ac.uk",
maintainer="Adam Moss",
maintainer_email="adam.moss@nottingham.ac.uk",
url="https://github.com/adammoss/nnest/",
license="MIT",
packages=find_packages(),
provides=["nnest"],
install_requires=readfile(
os.path.join(os.path.dirname(__file__), "requirements.txt")
)
)