-
-
Notifications
You must be signed in to change notification settings - Fork 53
/
setup.py
61 lines (56 loc) · 2.19 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
thelibFolder = os.path.dirname(os.path.realpath(__file__))
requirementPath = thelibFolder + '/requirements.txt'
install_requires = []
if os.path.isfile(requirementPath):
with open(requirementPath) as f:
install_requires = f.read().splitlines()
setup(
name = "odak",
version = "0.2.7",
author = "Kaan Akşit",
author_email = "[email protected]",
description = "Odak, the fundamental Python library for scientific computing in optical sciences.",
license = read('LICENSE.txt'),
keywords = "optics, holography, perception, graphics",
url = "https://github.com/kaanaksit/odak",
install_requires = install_requires,
packages = [
'odak',
'odak/raytracing',
'odak/fit',
'odak/jones',
'odak/tools',
'odak/wave',
'odak/learn/wave',
'odak/learn/models',
'odak/learn/tools',
'odak/learn/perception',
'odak/learn/raytracing',
'odak/learn/lensless',
'odak/visualize',
'odak/visualize/blender',
'odak/manager',
'odak/measurement',
'odak/catalog',
'odak/learn'
],
package_dir = {'odak': 'odak'},
package_data = {'odak': ['catalog/data/*.json']},
data_files = [
('', ['LICENSE.txt', 'README.md', 'THANKS.txt', 'requirements.txt', 'short_readme.md'])
],
long_description = read('short_readme.md'),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Physics',
'Programming Language :: Python',
'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',
],
python_requires = '>=3.7.5',
)