diff --git a/.hgignore b/.hgignore
index 7a4c6a5..63215d1 100644
--- a/.hgignore
+++ b/.hgignore
@@ -2,6 +2,7 @@ syntax: glob
 *.pyc
 *.pyo
 *.orig
+*.egg-info
 .pydevproject
 .project
 *.db
@@ -13,8 +14,6 @@ syntax: glob
 *.wpr
 .coverage
 local_settings.py
-djangobb/basic_project/static/forum/avatars/
-djangobb/basic_project/static/forum/attachments/
-djangobb/basic_project/secret.txt
-djangobb/basic_project/djangobb_index/
-djangobb/venv/
+.env
+build/
+dist/
\ No newline at end of file
diff --git a/.hgsubstate b/.hgsubstate
index 867ae60..8936be7 100644
--- a/.hgsubstate
+++ b/.hgsubstate
@@ -1 +1 @@
-0000000000000000000000000000000000000000 projects
+5c07e2748ddf167254a4de92454c0913fe8a0fd5 projects
diff --git a/extras/requirements.txt b/extras/requirements.txt
index ecd7d8c..82a3581 100644
--- a/extras/requirements.txt
+++ b/extras/requirements.txt
@@ -2,7 +2,7 @@ Django>=1.2
 PIL>=1.1.7
 django-registration==0.7
 django-haystack>=1.1.0
-souch
+south
 django-messages==0.4.4
 pygments
 -e hg+http://bitbucket.org/benoitc/django-authopenid#egg=django-authopenid
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..1f28f38
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+from setuptools import setup
+
+
+setup(name='djangobb_forum',
+    version='0.0.1a0',
+    description="DjangoBB is a quick and simple forum which uses the Django Framework.",
+    license="BSD",
+    url='http://djangobb.org/',
+    author="Alexey Afinogenov, Maranchuk Sergey", 
+    author_email="Maranchuk Sergey <slav0nic0@gmail.com>",
+    package_dir = {'djangobb_forum': 'djangobb_forum'},
+    packages=['djangobb_forum'],
+    install_requires=['django>=1.2',
+              'pil>=1.1.7',
+              'django-messages==0.4.4',
+              'django-haystack',
+              'django-authopenid',
+              'south',
+              'postmarkup'
+              ],
+    keywords="django forum bb",
+)