[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-13-g83d779e

Ritesh Raj Sarraf rrs at researchut.com
Sat Mar 6 10:39:59 UTC 2010


The following commit has been merged in the master branch:
commit 83d779ea650152e86c49cc537ca51c5b23c207c3
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Sat Mar 6 16:09:02 2010 +0530

    Restructure the .py files into proper package

diff --git a/apt-offline b/apt-offline
index cbae496..3a66fce 100755
--- a/apt-offline
+++ b/apt-offline
@@ -22,7 +22,7 @@
 ############################################################################
 
 
-from AptOfflineCoreLib import main
+from apt_offline_core.AptOfflineCoreLib import main
 
 if __name__ == "__main__":
     main()
diff --git a/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py
similarity index 100%
rename from AptOfflineCoreLib.py
rename to apt_offline_core/AptOfflineCoreLib.py
diff --git a/AptOfflineDebianBtsLib.py b/apt_offline_core/AptOfflineDebianBtsLib.py
similarity index 100%
rename from AptOfflineDebianBtsLib.py
rename to apt_offline_core/AptOfflineDebianBtsLib.py
diff --git a/AptOfflineFetchBugs.py b/apt_offline_core/AptOfflineFetchBugs.py
similarity index 100%
rename from AptOfflineFetchBugs.py
rename to apt_offline_core/AptOfflineFetchBugs.py
diff --git a/AptOfflineLib.py b/apt_offline_core/AptOfflineLib.py
similarity index 100%
rename from AptOfflineLib.py
rename to apt_offline_core/AptOfflineLib.py
diff --git a/AptOfflineMagicLib.py b/apt_offline_core/AptOfflineMagicLib.py
similarity index 100%
rename from AptOfflineMagicLib.py
rename to apt_offline_core/AptOfflineMagicLib.py
diff --git a/AptOffline_argparse.py b/apt_offline_core/AptOffline_argparse.py
similarity index 100%
rename from AptOffline_argparse.py
rename to apt_offline_core/AptOffline_argparse.py
diff --git a/AptOffline_reportbug_exceptions.py b/apt_offline_core/AptOffline_reportbug_exceptions.py
similarity index 100%
rename from AptOffline_reportbug_exceptions.py
rename to apt_offline_core/AptOffline_reportbug_exceptions.py
diff --git a/AptOffline_urlutils.py b/apt_offline_core/AptOffline_urlutils.py
similarity index 100%
rename from AptOffline_urlutils.py
rename to apt_offline_core/AptOffline_urlutils.py
diff --git a/apt_offline_core/__init__.py b/apt_offline_core/__init__.py
new file mode 100644
index 0000000..e69de29
diff --git a/setup.py b/setup.py
index 1a377cf..81de666 100644
--- a/setup.py
+++ b/setup.py
@@ -2,35 +2,27 @@
 
 # -*- coding: utf-8 -*-
 
-# Copyright © 2009 Ritesh Raj Sarraf <rrs at researchut.com>
+# Copyright 2009 Ritesh Raj Sarraf <rrs at researchut.com>
 #
 # Licensed under the GNU General Public License v3 and later
 
 import textwrap
 import distutils.core
 
-import AptOfflineCoreLib
-import AptOfflineDebianBtsLib
-#import AptOfflineFetchBugs
-#import AptOfflineGUI
-import AptOfflineLib
-import AptOfflineMagicLib
-import AptOffline_reportbug_exceptions
-import AptOffline_urlutils
-import AptOffline_argparse
-
 distutils.core.setup(
     name='apt-offline',
-    version=AptOfflineCoreLib.version,
+    version='0.9.6',
     author='Ritesh Raj Sarraf',
     author_email='rrs at researchut.com',
     url='http://apt-offline.alioth.debian.org',
+    #packages = [ 'apt_offline_core' ],
     description='Offline APT Package Manager',
     long_description = textwrap.dedent("""\
         apt-offline is an Offline APT Package Manager
         for Debian and derivatives
         """),
     license='GPL',
+    platforms = 'Posix; MacOS X; Windows',
     classifiers=[
         'Development Status :: 3 - Testing/Beta',
         'Environment :: Console',
@@ -40,15 +32,15 @@ distutils.core.setup(
         'Programming Language :: Python',
         'Topic :: Package Management',
     ],
-    py_modules=['AptOfflineCoreLib',
-            'AptOfflineDebianBtsLib',
-#            'AptOfflineFetchBugs.py',
-#            'AptOfflineGUI',
-            'AptOfflineLib',
-            'AptOfflineMagicLib',
-            'AptOffline_reportbug_exceptions',
-            'AptOffline_argparse',
-            'AptOffline_urlutils',],
+    py_modules=['apt_offline_core.AptOfflineCoreLib',
+            'apt_offline_core.AptOfflineDebianBtsLib',
+#            'apt_offline_core.AptOfflineFetchBugs.py',
+#            'apt_offline_core.AptOfflineGUI',
+            'apt_offline_core.AptOfflineLib',
+            'apt_offline_core.AptOfflineMagicLib',
+            'apt_offline_core.AptOffline_reportbug_exceptions',
+            'apt_offline_core.AptOffline_argparse',
+            'apt_offline_core.AptOffline_urlutils',],
     scripts=['apt-offline'],
     data_files = [('share/man/man8',['apt-offline.8']),
             ('share/doc/apt-offline',['apt-offline.html',

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list