Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 572690deb9d17b84e2e59735f0c41056 > files > 1

nxt_python-0.7-7.fc14.src.rpm

diff -uNr nxt_python-0.7-old/70-lego.rules nxt_python-0.7/70-lego.rules
--- nxt_python-0.7-old/70-lego.rules	1969-12-31 19:00:00.000000000 -0500
+++ nxt_python-0.7/70-lego.rules	2008-08-07 10:43:33.000000000 -0400
@@ -0,0 +1 @@
+BUS=="usb", SYSFS{idVendor}=="0694", GROUP="lego", MODE="0660"
diff -uNr nxt_python-0.7-old/setup.py nxt_python-0.7/setup.py
--- nxt_python-0.7-old/setup.py	2007-05-29 21:00:55.000000000 -0400
+++ nxt_python-0.7/setup.py	2008-08-07 10:43:39.000000000 -0400
@@ -3,11 +3,14 @@
 from distutils.core import setup
 
 setup(
-	name='NXT_Master',
+	name='nxt_python',
 	version='0.7',
 	author='Douglas Lau',
 	author_email='dplau@comcast.net',
 	description='LEGO Mindstorms NXT Control Package',
+	url = 'http://home.comcast.net/~dplau/nxt_python/',
+	data_files=[ ('/etc/udev/rules.d/', [ '70-lego.rules' ] ) ],
 	packages=['nxt'],
+	package_data = { 'nxt' : [ 'bluesock.py', 'compass.py', 'error.py', 'locator.py', 'sensor.py', 'telegram.py', 'brick.py', 'direct.py', 'motor.py', 'system.py', 'usbsock.py' ] },
 	scripts=['scripts/nxt_push', 'scripts/nxt_test', 'scripts/nxt_filer']
 )