Browse Source

first distutils script

debian-sid
dkm 14 years ago
parent
commit
b165c4d42b
  1. 1
      .gitignore
  2. 39
      setup.py

1
.gitignore vendored

@ -1,3 +1,4 @@
build/
.*.swp
*.gpx
*.IGC

39
setup.py

@ -0,0 +1,39 @@
#!/usr/bin/env python
#
# IGC to Google Earth converter
# Copyright (C) 2009 Marc Poulhiès
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup
from sys import version
if version < '2.5':
print "Sorry, only for python >= 2.5"
sys.exit(-1)
setup (
name = "igc2kmz",
packages = ['igc2kmz'],
scripts=['bin/%s' %i for i in ["brand2kml.py",
"igc2kmz.py",
"igc2task.py",
"leonardo2kmz.py",
"olc2gpx.py"]],
package_data={'igc2kmz': ['images/*']},
)
Loading…
Cancel
Save