Skip to content

Commit 097cb2e

Browse files
AVSurfer123nLevin13
authored andcommitted
Added perception python package with setup.py, updated gitignore
1 parent 68b2bfc commit 097cb2e

37 files changed

+33
-23
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ __pycache__/
66
.ipynb_checkpoints/
77
*.py[cod]
88
*$py.class
9+
*.egg-info/
910

1011
# DS Store
1112
.DS_Store
1213

1314
# C extensions
1415
*.so
16+
17+
# IDE files
1518
.idea
19+
.vs_code/

README.md

+12-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,18 @@ activate it with
1515

1616
and install all dependencies with
1717

18-
pip install -r requirements.txt
18+
pip3 install -r requirements.txt
19+
20+
Then clone the repo in a directory of your choice
21+
22+
git clone https://github.com/berkeleyauv/perception.git
23+
24+
and install it
25+
26+
pip3 install -e perception/
27+
28+
Also, our training data is stored here https://www.dropbox.com/sh/rrbfqfutrmifrxs/AAAfXxlcCtWZmUELp4wXyTIxa?dl=0 so download it and unzip it in the same folder as `perception`.
29+
1930

2031
## misc:
2132
Misc code, camera calibration etc.

perception/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

vis/vis.py perception/vis/vis.py

File renamed without changes.
File renamed without changes.

setup.py

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import setuptools
2+
3+
with open("README.md", "r") as fh:
4+
long_description = fh.read()
5+
6+
print(setuptools.find_packages())
7+
8+
setuptools.setup(
9+
name="perception",
10+
version="0.0.1",
11+
author="Underwater Robotics at Berkeley",
12+
description="Perception algorithms for our autonomous submarine",
13+
long_description=long_description,
14+
long_description_content_type="text/markdown",
15+
packages=setuptools.find_packages(),
16+
python_requires='>=3.7',
17+
)

tasks/.DS_Store

-6 KB
Binary file not shown.

tasks/.vscode/launch.json

-22
This file was deleted.

0 commit comments

Comments
 (0)