Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
pydensecrf
Commits
cd4bc405
Commit
cd4bc405
authored
Apr 23, 2016
by
lucasb-eyer
Browse files
Fix #11: actually install all files.
Especially, installs `__init__.py` which is necessary for the import.
parent
c0550af2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
README.md
README.md
+1
-1
setup.py
setup.py
+1
-1
No files found.
README.md
View file @
cd4bc405
...
@@ -41,7 +41,7 @@ For images, the easiest way to use this library is using the `DenseCRF2D` class:
...
@@ -41,7 +41,7 @@ For images, the easiest way to use this library is using the `DenseCRF2D` class:
```
python
```
python
import
numpy
as
np
import
numpy
as
np
import
densecrf
as
dcrf
import
pydensecrf.
densecrf
as
dcrf
d
=
dcrf
.
DenseCRF2D
(
640
,
480
,
5
)
# width, height, nlabels
d
=
dcrf
.
DenseCRF2D
(
640
,
480
,
5
)
# width, height, nlabels
```
```
...
...
setup.py
View file @
cd4bc405
...
@@ -14,6 +14,6 @@ setup(
...
@@ -14,6 +14,6 @@ setup(
author_email
=
"lucasb.eyer.be@gmail.com"
,
author_email
=
"lucasb.eyer.be@gmail.com"
,
url
=
"http://github.com/lucasb-eyer/pydensecrf"
,
url
=
"http://github.com/lucasb-eyer/pydensecrf"
,
ext_modules
=
cythonize
([
'pydensecrf/eigen.pyx'
,
'pydensecrf/densecrf.pyx'
]),
ext_modules
=
cythonize
([
'pydensecrf/eigen.pyx'
,
'pydensecrf/densecrf.pyx'
]),
p
y_modules
=
[
"pydensecrf
/utils
"
]
p
ackages
=
[
"pydensecrf"
]
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment