-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (35 loc) · 1.47 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from os.path import dirname, join
from pathlib import Path
import pathlib
here = pathlib.Path(__file__).parent.resolve()
def read(*names, **kwargs):
with open(
join(dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
) as fh:
return fh.read()
def extract_requirements(file_name):
return [r for r in read(file_name).split('\n') if r and not r.startswith('#')]
def get_requirements():
requirements = extract_requirements('requirements.txt')
return requirements
setup(
name = 'tedeous',
version= '0.3.1' ,
description = 'TEDEouS - Torch Exhaustive Differential Equations Solver. Differential equation solver, based on pytorch library',
long_description = 'Combine power of pytorch, numerical methods and math overall to conquer and solve ALL {O,P}DEs. There are some examples to provide a little insight to an operator form',
author = 'Alexander Hvatov',
author_email = '[email protected]', # add email
classifiers = [
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
packages = find_packages(include = ['tedeous']),
include_package_data = True,
python_requires =' >=3.8'
)