Skip to content

Commit cd4bc40

Browse files
committed
Fix lucasb-eyer#11: actually install all files.
Especially, installs `__init__.py` which is necessary for the import.
1 parent c0550af commit cd4bc40

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ For images, the easiest way to use this library is using the `DenseCRF2D` class:
4141

4242
```python
4343
import numpy as np
44-
import densecrf as dcrf
44+
import pydensecrf.densecrf as dcrf
4545

4646
d = dcrf.DenseCRF2D(640, 480, 5) # width, height, nlabels
4747
```

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
author_email="[email protected]",
1515
url="http://github.com/lucasb-eyer/pydensecrf",
1616
ext_modules=cythonize(['pydensecrf/eigen.pyx', 'pydensecrf/densecrf.pyx']),
17-
py_modules = ["pydensecrf/utils"]
17+
packages=["pydensecrf"]
1818
)
1919

0 commit comments

Comments
 (0)