1 |
# Copyright (c) 2001 by Intevation GmbH |
# Copyright (c) 2001, 2002 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
4 |
# |
# |
392 |
""" |
""" |
393 |
|
|
394 |
description =\ |
description =\ |
395 |
"Create some symlink so you can run thubanfrom the source directory" |
"Create some symlinks so you can run thuban from the source directory" |
396 |
|
|
397 |
user_options = [ |
user_options = [ |
398 |
('skip-build', None, "skip the build steps"), |
('skip-build', None, "skip the build steps"), |
416 |
# now do the work. Simply link or copy the Lib dir |
# now do the work. Simply link or copy the Lib dir |
417 |
libdir = os.path.join(self.build_dir, "Lib") |
libdir = os.path.join(self.build_dir, "Lib") |
418 |
if os.name == "posix": |
if os.name == "posix": |
419 |
# on posix, just lilnk the Lib dir |
# on posix, just link the Lib dir |
420 |
self.link_dir(libdir, "Lib") |
self.link_dir(libdir, "Lib") |
421 |
else: |
else: |
422 |
self.copy_tree(libdir, "Lib") |
self.copy_tree(libdir, "Lib") |
602 |
|
|
603 |
"""Thuban specific RPM distribution command""" |
"""Thuban specific RPM distribution command""" |
604 |
|
|
605 |
def run(self): |
def initialize_options(self): |
606 |
# create the prep script for the spec-file |
# create the prep script for the spec-file |
607 |
open("bdist_rpm_prep", "w").write(bdist_rpm_prep_script) |
open("bdist_rpm_prep", "w").write(bdist_rpm_prep_script) |
608 |
|
|
609 |
bdist_rpm.run(self) |
bdist_rpm.initialize_options(self) |
610 |
|
|
611 |
|
|
612 |
class bdist_inno(Command): |
class bdist_inno(Command): |
820 |
""" |
""" |
821 |
|
|
822 |
setup(name = "Thuban", |
setup(name = "Thuban", |
823 |
version = "0.1", |
version = "0.1.1", |
824 |
description = "Geographic data viewer", |
description = "Geographic data viewer", |
825 |
long_description = long_description, |
long_description = long_description, |
826 |
licence = "GPL", |
licence = "GPL", |