Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
poster==0.8.1
protobuf==2.6.1
requests==2.5.1
pymavlink>=1.1.62
sphinx-3dr-theme>=0.0.6
Expand Down
7 changes: 0 additions & 7 deletions scripts/compile-protobufs.sh

This file was deleted.

48 changes: 26 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,29 @@

version = '2.0.0b3'

setup (name = 'dronekit',
zip_safe=True,
version = version,
description = 'Python language bindings for the DroneApi',
long_description = 'Python language bindings for the DroneApi',
url = 'https://github.com/dronekit/dronekit-python',
author = '3D Robotics',
install_requires = ['pymavlink >= 1.1.62',
'protobuf >= 2.5.0',
'requests == 2.5.1' ],
author_email = 'tim@3drobotics.com, kevinh@geeksville.com',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering'
],
license='apache',
packages = ['dronekit', 'dronekit.module', 'dronekit.lib' ],
ext_modules = [])
setup(name='dronekit',
zip_safe=True,
version=version,
description='Python language bindings for the DroneApi',
long_description='Python language bindings for the DroneApi',
url='https://github.com/dronekit/dronekit-python',
author='3D Robotics',
install_requires=[
'pymavlink >= 1.1.62',
'requests == 2.5.1',
],
author_email='tim@3drobotics.com, kevinh@geeksville.com',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering',
],
license='apache',
packages=[
'dronekit', 'dronekit.module', 'dronekit.lib'
],
ext_modules=[])
24 changes: 0 additions & 24 deletions windows/droneapiWinBuild.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,5 @@ for /f "tokens=*" %%a in (
set VERSION=%%a
)

rem -----Get protobuf and unzip-----
C:\python27\scripts\pip.exe install --download .\ protobuf
rem get the protobuf fullname
for /f "tokens=*" %%a in (
'dir /B protobuf-*'
) do (
set PROTOBUFFULL=%%a
)

rem Use 7zip to unzip files. Works for both 32 and 64 bit versions
"C:\Program Files\7-zip\7z.exe" x -y %PROTOBUFFULL%
"C:\Program Files\7-zip\7z.exe" x -y .\dist\protobuf*
"C:\Program Files (x86)\7-zip\7z.exe" x -y %PROTOBUFFULL%
"C:\Program Files (x86)\7-zip\7z.exe" x -y .\dist\protobuf*

rem get the protobuf fullname
for /f "tokens=*" %%a in (
'dir /A:D /B protobuf-*'
) do (
set PROTOBUFDIR=%%a
)
xcopy /E /Y %PROTOBUFDIR%\google .\google\


rem -----Build the Installer-----
"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" /dMyAppVersion=%VERSION% dronekit_installer.iss
1 change: 0 additions & 1 deletion windows/droneapi_installer.iss
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
[Files]
Source: "..\dronekit\*"; DestDir: "{code:GetMAVProxyPath}\dronekit"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\examples\*"; DestDir: "{code:GetMAVProxyPath}\examples"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "google\*"; DestDir: "{code:GetMAVProxyPath}\google"; Flags: ignoreversion recursesubdirs createallsubdirs

; NOTE: Don't use "Flags: ignoreversion" on any shared system files

Expand Down