]> git.phdru.name Git - m_lib.git/commitdiff
Do not install tests but include them in source distribution
authorOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2013 15:09:37 +0000 (19:09 +0400)
committerOleg Broytman <phd@phdru.name>
Fri, 20 Dec 2013 15:09:37 +0000 (19:09 +0400)
MANIFEST.in
m_lib/flad/test/__init__.py [deleted file]
m_lib/pbar/test/__init__.py [deleted file]
setup.py

index 646b3c0dd2d6402534514c9272dcd65107107736..b4f5579a5104f5dfdc5174efac359bcb15ea5270 100644 (file)
@@ -1 +1,4 @@
 include INSTALL.txt MANIFEST.in README-flad.txt
+recursive-include m_lib/flad/test *.py *.cfg *.txt
+recursive-include m_lib/hash/test *.py
+recursive-include m_lib/pbar/test *.py
diff --git a/m_lib/flad/test/__init__.py b/m_lib/flad/test/__init__.py
deleted file mode 100644 (file)
index 6f91d98..0000000
+++ /dev/null
@@ -1 +0,0 @@
-"Broytman Flat ASCII Database for Python - Test, Copyright (C) 1996-2001 PhiloSoft Design"
diff --git a/m_lib/pbar/test/__init__.py b/m_lib/pbar/test/__init__.py
deleted file mode 100644 (file)
index 6f91d98..0000000
+++ /dev/null
@@ -1 +0,0 @@
-"Broytman Flat ASCII Database for Python - Test, Copyright (C) 1996-2001 PhiloSoft Design"
index 5d22450ac61fd450f5bc2fa1a7499e6cfaf73616..305bfce77eadfff11c85b6d8c111bf9a8fb20c8d 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 from distutils.core import setup
 
 setup(name = "m_lib",
-    version = "2.0.1",
+    version = "2.1.0",
     description = "Broytman Library for Python",
     long_description = "Broytman Library for Python, Copyright (C) 1996-2013 PhiloSoft Design",
     author = "Oleg Broytman",
@@ -11,14 +11,9 @@ setup(name = "m_lib",
     url = "http://phdru.name/Software/Python/#m_lib",
     license = "GPL",
     platforms = "All",
-    packages = ["m_lib", "m_lib.clock", "m_lib.flad", "m_lib.flad.test",
-        "m_lib.hash", "m_lib.hash.test", "m_lib.lazy",
+    packages = ["m_lib", "m_lib.clock", "m_lib.flad",
+        "m_lib.hash", "m_lib.lazy",
         "m_lib.net", "m_lib.net.ftp", "m_lib.net.www",
-        "m_lib.pbar", "m_lib.pbar.test", "m_lib.rus",
+        "m_lib.pbar", "m_lib.rus",
     ],
-    package_data = {'m_lib.flad': [
-        "test/comment.txt",
-        "test/test.cfg",
-        "test/test.txt",
-    ]},
 )