forked from kaanaksit/odak
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (44 loc) · 1.5 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (44 loc) · 1.5 KB
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
import os
from setuptools import setup, find_packages
read = lambda fname: open(os.path.join(os.path.dirname(__file__), fname)).read()
thelibFolder = os.path.dirname(os.path.realpath(__file__))
requirementPath = os.path.join(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.8",
author="Kaan Akşit",
author_email="kaanaksit@kaanaksit.com",
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=find_packages(where="."),
package_dir={"odak": "odak"},
package_data={"odak": ["catalog/data/*.json", "learn/models/*.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",
],
python_requires=">=3.9",
)