-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (22 loc) · 794 Bytes
/
setup.py
File metadata and controls
28 lines (22 loc) · 794 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
from setuptools import setup, find_packages
from montecarlolearning import __version__
# Read requirements from requirements.txt
import codecs
import chardet
def get_encoding(file):
with open(file, 'rb') as f:
return chardet.detect(f.read())['encoding']
encoding = get_encoding('requirementsColab.txt')
install_requires = codecs.open('requirementsColab.txt', 'r', encoding=encoding).read().splitlines()
# Package information
setup(
name='montecarlolearning',
version=__version__,
url='https://github.com/da-roth/NeuronalNetworkTensorflowFramework',
author='Daniel Roth',
author_email='daniel-roth@posteo.org',
install_requires=install_requires,
packages=find_packages(),
include_package_data=True,
package_data={'': ['BlackScholes/*.py']}
)