-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsetup.py
41 lines (38 loc) · 1.08 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
import os
from setuptools import setup, find_packages
extras = {
'jax': ['jax>=0.4.1',
'jaxlib>=0.4.1',
'optax>=0.1.4',
'tqdm>=4.64.1',
],
'pytorch': ['torch>=2.0.0',
'tqdm>=4.64.1',
],
}
# Read in README.md for our long_description
cwd = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(cwd, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name='meent',
version='0.12.0',
url='https://github.com/kc-ml2/meent',
author='KC ML2',
author_email='[email protected]',
packages=['meent'] + find_packages(include=['meent.*']),
install_requires=[
'numpy>=1.23.3',
'scipy>=1.9.1',
],
extras_require=extras,
python_requires='>=3.8',
description=(
"Electromagnetic simulation (RCWA) & optimization package in Python"
),
long_description=long_description,
long_description_content_type="text/markdown",
package_data={
'meent': ['nk_data/filmetrics/*.txt', 'nk_data/matlab/*.mat'],
},
)