diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29c4be0267154630dd6f106d4cab2dc6b22aee9f..1b92e28b879d836691cd05d7b036b9474ebbffaf 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -39,9 +39,10 @@ build:
     - export LC_CTYPE=en_US.UTF-8
     - pip install mustache pystache
   script:
+    - echo "include_merge = False" >> .gitchangelog.rc
     - echo "output_engine = mustache(\"restructuredtext\")" >> .gitchangelog.rc
-    - gitchangelog >> HISTORY.txt
-    - cat HISTORY.txt
+    - gitchangelog >> docs/HISTORY.txt
+    - cat docs/HISTORY.txt
     - echo "output_engine = mustache(\"markdown\")" >> .gitchangelog.rc
     - echo >> README.md
     - gitchangelog | sed -r '1,/^# Changelog$/s/^(# Changelog)$/#\1/' >> README.md
@@ -67,11 +68,11 @@ versioncheck:
     - export BUILD_VERSION="$(python setup.py --version)"
     - >-
          export PUBLISHED_VERSION="$(pip install pipdeps== 2>&1 | grep -oE "\(from versions: .*)" | sed "s/(from versions: //" | sed "s/)//" | tr ", " "\n" | tail -n1)"
-    #- CMP_VERSION="$(cmp-version $BUILD_VERSION $PUBLISHED_VERSION)"
-    #- if [ $CMP_VERSION -eq 1 ]; then true; else echo 'Git tag is older/same version as module already available from public pypi repository. Please run git tag -a <version> -m "<version>"'; false; fi
-    - >-
-         echo -e "import sys\nfrom packaging.version import Version, LegacyVersion\nver1=Version('$BUILD_VERSION')\nver2=Version('$PUBLISHED_VERSION')\nif ver1>ver2: sys.exit(0)\nif ver1<ver2: sys.exit(1)\nif ver1==ver2: sys.exit(2)" | python
-    - if [ $? -eq 0 ]; then true; else echo 'Git tag is older/same version as module already available from public pypi repository. Please run git tag -a <version> -m "<version>"'; false; fi
+    - CMP_VERSION="$(cmp-version $BUILD_VERSION $PUBLISHED_VERSION)"
+    - if [ $CMP_VERSION -eq 1 ]; then true; else echo 'Git tag is older/same version as module already available from public pypi repository. Please run git tag -a <version> -m "<version>"'; false; fi
+    #- >-
+    #     echo -e "import sys\nfrom packaging.version import Version, LegacyVersion\nver1=Version('$BUILD_VERSION')\nver2=Version('$PUBLISHED_VERSION')\nif ver1>ver2: sys.exit(0)\nif ver1<ver2: sys.exit(1)\nif ver1==ver2: sys.exit(2)" | python
+    #- if [ $? -eq 0 ]; then true; else echo 'Git tag is older/same version as module already available from public pypi repository. Please run git tag -a <version> -m "<version>"'; false; fi
 
 upload:
   stage: deploy
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000000000000000000000000000000000000..c2359ec7bcc85625e24feee7140e9c7178c73e50
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,6 @@
+recursive-include docs *
+include *
+exclude .gitchangelog.rc
+exclude .gitlab-ci.yml
+global-exclude *.pyc
+global-exclude .gitignore
diff --git a/docs/HISTORY.txt b/docs/HISTORY.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/setup.py b/setup.py
index 10457bd205c4ae45701f746c1cb4486a018d732a..ee78dd6cbad34ab22439bef8693725107fe6179b 100644
--- a/setup.py
+++ b/setup.py
@@ -21,6 +21,7 @@ setup(
     license='GPLv3+',
     packages=find_packages(),
     namespace_packages=['pipdeps'],
+    include_package_data=True,
     zip_safe=False,
     version_format='{tag}',
     long_description_markdown_filename='README.md',