Queer European MD passionate about IT
Browse Source

Exclude data/ and test*.py from distribution

Davte 3 years ago
parent
commit
7e0d871474
4 changed files with 7 additions and 3 deletions
  1. 3 2
      .gitignore
  2. 3 0
      MANIFEST.in
  3. 1 1
      davtelepot/__init__.py
  4. 0 0
      davtelepot/data/__init__.py

+ 3 - 2
.gitignore

@@ -8,8 +8,9 @@ venv/
 *.db
 *.json
 
-# Data folders
-data/
+# Data folder
+davtelepot/data/*
+!davtelepot/data/__init__.py
 
 *.txt
 !requirements.txt

+ 3 - 0
MANIFEST.in

@@ -1 +1,4 @@
 include davtelepot/ietf_language_tags.csv
+exclude davtelepot/test*.py
+exclude davtelepot/data/*
+include davtelepot/data/__init__.py

+ 1 - 1
davtelepot/__init__.py

@@ -7,7 +7,7 @@ __author__ = "Davide Testa"
 __email__ = "davide@davte.it"
 __credits__ = ["Marco Origlia", "Nick Lee @Nickoala"]
 __license__ = "GNU General Public License v3.0"
-__version__ = "2.1.11"
+__version__ = "2.1.12"
 __maintainer__ = "Davide Testa"
 __contact__ = "t.me/davte"
 

+ 0 - 0
davtelepot/data/__init__.py