diff --git a/src/setup.py b/src/setup.py
new file mode 100644
--- /dev/null
+++ b/src/setup.py
@@ -0,0 +1,46 @@
+#!/usr/bin/env python2
+# -*- coding: utf-8 -*-
+# Copyright (c) 2018 errol project
+# This code is distributed under the GPLv3 License
+# The code is inspired from https://github.com/rbarrois/aionotify
+
+from setuptools import setup, find_packages
+from codecs import open
+from os import path
+
+here = path.abspath(path.dirname(__file__))
+# Arguments marked as "Required" below must be included for upload to PyPI.
+# Fields marked as "Optional" may be commented out.
+
+setup(
+ name='cagou', # Required
+ version='0.7', # Required
+ description='Cagou is the new desktop/Android frontend for "Salut à Toi" (SàT), the full-featured social network based on standards (XMPP) and with a strong emphasis on ethics.',
+long_description='long_description', # Optional
+ url='https://salut-a-toi.org', # Optional
+ author='Goffi', # Optional
+ author_email='',
+ classifiers=[
+ # https://pypi.python.org/pypi?%3Aaction=list_classifiers
+ 'Development Status :: 3 - Alpha',
+ 'Environment :: X11 Applications',
+ 'Intended Audience :: XXX',
+ 'Topic :: Internet :: XMPP',
+ 'Topic :: Communications',
+ 'License :: OSI Approved :: XXX',
+ 'Programming Language :: Python :: 2 :: Only',
+ ],
+ keywords='', # Optional
+ packages=find_packages(exclude=[]),
+ #install_requires=['kivy' , 'sat' 'sat-templates', 'sat-tmp'],
+ install_requires=[],
+ # To provide executable scripts, use entry points in preference to the
+ # "scripts" keyword. Entry points provide cross-platform support and allow
+ # `pip` to create the appropriate form of executable for the target
+ # platform.
+ #
+ # For example, the following would provide a command called `sample` which
+ # executes the function `main` from this package when invoked:
+ entry_points={'console_scripts': ['cagou=cagou.main:launcher',],
+ },
+)