forked from bqlabs/horus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (29 loc) · 1022 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# coding=utf-8
import os
import sys
from setuptools import setup, find_packages
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from horus import __version__
def package_data_dirs(source, basedir='/usr/share/horus'):
dirs = []
for dirname, _, files in os.walk(source):
dirname = os.path.relpath(dirname, source)
for f in files:
dirs.append((os.path.join(basedir, dirname),
[os.path.join(source, dirname, f)]))
dirs.append(('/usr/share/applications', ['pkg/linux/horus.desktop']))
return dirs
setup(
name='Horus',
version=__version__,
author='Jesús Arroyo Torrens',
author_email='[email protected]',
description='Horus is a full software solution for 3D scanning',
license='GPLv2',
keywords="horus ciclop scanning 3d",
url='https://github.com/bqlabs/horus',
packages=find_packages('src'),
package_dir={'': 'src'},
scripts=['horus'],
data_files=package_data_dirs('res'),
)