--- a
+++ b/setup.py
@@ -0,0 +1,36 @@
+"""Segmentator setup.
+
+To install for development, using the commandline do:
+    pip install -e /path/to/segmentator
+
+"""
+
+from setuptools import setup
+from setuptools.extension import Extension
+from os.path import join
+import numpy
+
+ext_modules = [Extension(
+    "segmentator.deriche_3D", [join('segmentator', 'cython', 'deriche_3D.c')],
+    include_dirs=[numpy.get_include()])
+    ]
+
+setup(name='segmentator',
+      version='1.6.1',
+      description=('Multi-dimensional data exploration and segmentation for 3D \
+                   images.'),
+      url='https://github.com/ofgulban/segmentator',
+      author='Omer Faruk Gulban',
+      author_email='faruk.gulban@maastrichtuniversity.nl',
+      license='BSD-3-clause',
+      packages=['segmentator'],
+      install_requires=['numpy>=1.17', 'matplotlib>=3.1', 'scipy>=1.3', 'compoda>=0.3'],
+      keywords=['mri', 'segmentation', 'image', 'voxel'],
+      zip_safe=True,
+      entry_points={
+        'console_scripts': [
+            'segmentator = segmentator.__main__:main',
+            'segmentator_filters = segmentator.filters_ui:main',
+            ]},
+      ext_modules=ext_modules,
+      )