Skip to content
Browse files

Ensure byte-compiled files get created after every install, Debian

  • Loading branch information...
1 parent 51649ac commit bbe6d19281c01e2b22755fcc2d789e2e617caa1e @andrewbird committed Dec 7, 2011
View
2 packaging/debian/generic/debian/control
@@ -15,6 +15,7 @@ Depends: python-wader, python (>= 2.5), ${python:Depends}, python-twisted-core,
Recommends: python-twisted-conch
Conflicts: modemmanager
Provides: modemmanager
+XB-Python-Version: >= 2.5
Description: Internet connection assistant for mobile devices.
Wader is a tool that manages 3G devices and mobile phones offering a dbus
interface so other applications can use its services as connecting to the
@@ -27,6 +28,7 @@ Architecture: all
Section: python
Depends: python (>= 2.5), ${python:Depends}, python-epsilon, python-dbus, python-tz, python-m2crypto, python-messaging (>= 0.5.11), mobile-broadband-provider-info
Conflicts: wader-core (<= 0.5.8)
+XB-Python-Version: >= 2.5
Description: Library that provides access to wader core
This is the core package.
.
View
4 packaging/debian/generic/debian/rules
@@ -34,10 +34,10 @@ install: build
--install-layout=deb \
--skip-build \
--root $(CURDIR)/debian/tmp
- -find $(CURDIR)/debian/tmp/usr/lib -name '*.py[co]' | xargs rm -f
-# DH_PYCENTRAL=nomove dh_pycentral
+ -find $(CURDIR)/debian/tmp -name '*.py[co]' | xargs rm -f
dh_install
dh_installman
+ DH_PYCENTRAL=nomove dh_pycentral
# Build architecture-independent files here.
binary-indep: build install
View
7 packaging/debian/generic/debian/wader-core.postinst
@@ -66,6 +66,8 @@ tidyup_modem_manager()
pkill -9 modem-manager || true
}
+#DEBHELPER#
+
case "$1" in
(configure)
fix_peers
@@ -77,9 +79,6 @@ case "$1" in
;;
esac
-reload_udev_rules
+reload_udev_rules || true
exit 0
-
-#DEBHELPER#
-
View
1 setup.py
@@ -116,6 +116,7 @@ def walk_callback(arg, directory, files):
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
'Topic :: Communications :: Telephony',
],
)

0 comments on commit bbe6d19

Please sign in to comment.
Something went wrong with that request. Please try again.