Skip to content

Commit a497b90

Browse files
committed
Move data files inside src/compas/data so that they are shipped with the install
1 parent 76b1588 commit a497b90

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+202266
-202267
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ src/.build/**
127127
data/bunny
128128
data/models
129129
data/ctralie
130-
*.ply
131130
*.tar.gz
132131

133132
data/models

src/compas/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@
5050
"""str: Path to the location of the compas package."""
5151

5252
HOME = compas._os.absjoin(HERE, '../..')
53-
"""str: Path to the root of the local repo."""
53+
"""str: Path to the root of the local installation."""
5454

55-
DATA = compas._os.absjoin(HERE, '../../data')
56-
"""str: Path to the data folder of the local repo."""
55+
DATA = compas._os.absjoin(HERE, 'data', 'samples')
56+
"""str: Path to the data folder of the local installation."""
5757

5858
TEMP = compas._os.absjoin(HERE, '../../temp')
59-
"""str: Path to the temp folder of the local repo."""
59+
"""str: Path to the temp folder of the local installation."""
6060

6161
APPDATA = compas._os.user_data_dir('COMPAS', 'compas-dev', roaming=True)
6262
"""str: Path to the COMPAS directory in APPDATA."""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
OFF
2-
8 6 24
3-
0 0 0
4-
0 0 1
5-
0 1 0
6-
0 1 1
7-
1 0 0
8-
1 0 1
9-
1 1 0
10-
1 1 1
11-
4 0 1 3 2
12-
4 2 3 7 6
13-
4 4 6 7 5
14-
4 0 4 5 1
15-
4 1 5 7 3
16-
4 0 2 6 4
1+
OFF
2+
8 6 24
3+
0 0 0
4+
0 0 1
5+
0 1 0
6+
0 1 1
7+
1 0 0
8+
1 0 1
9+
1 1 0
10+
1 1 1
11+
4 0 1 3 2
12+
4 2 3 7 6
13+
4 4 6 7 5
14+
4 0 4 5 1
15+
4 1 5 7 3
16+
4 0 2 6 4
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)