-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (44 loc) · 1.45 KB
/
setup.py
File metadata and controls
53 lines (44 loc) · 1.45 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
48
49
50
51
52
53
"""
This is for building the PhyCV library.
Without building the library, you have to have the code in a specific directory to run all the algorithms
After building it, PhyCV will appear as a Python package in your Python environment.
If you are installing PhyCV from pip, you don't need setup.py
"""
from setuptools import find_packages, setup
def readme():
with open("README.md", "r") as f:
README = f.read()
return README
def install_requires():
with open("requirements.txt", "r") as f:
install_requires = [x.strip() for x in f.readlines()]
return install_requires
VERSION = "1.2.6"
# Setting up
setup(
name="phycv",
version=VERSION,
author="Jalali-Lab",
author_email="ucla.photonics.lab@gmail.com",
description="physics-inspired computer vision algorithms",
long_description=readme(),
long_description_content_type="text/markdown",
packages=find_packages(),
install_requires=install_requires(),
keywords=[
"python",
"image processing",
"computational imaging",
"computer vision",
"physics-inspired algorithm",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
],
)