2 from distutils.core import setup
5 install_dir=os.path.join("LOLITech","CanFestival-3")
11 def generate(base_dir):
17 data_files.append((os.path.join(install_dir, base_dir), listfile))
19 for element in os.listdir(directory):
20 element_path=os.path.join(base_dir, element)
21 if os.path.isdir(element_path):
22 generate(element_path)
23 elif os.path.isfile(element_path):
24 ext_element=os.path.splitext(element)
25 if ext_element[1] != ".o" and ext_element[1] != ".pyc":
26 listfile.append(element_path)
31 setup(name='CanFestival-3', # Name of the executable
32 version='0.1', # Version
33 description='Open-Source CanOpen Stack', #description
34 author='Edouard Tisserant, Laurent Bessard',
35 author_email='edouard.tisserant.lolitech.fr, laurent.bessard@lolitech.fr',
36 url='http://www.canfestival.org',
38 scripts=['objdictedit_postinst.py'],
39 data_files=data_files, # Add files to install