forked from 3DSTB/horus
-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
41 lines (29 loc) · 1.13 KB
/
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 / Gryphon Scan',
version=__version__,
author='Jesús Arroyo Torrens, Mikhail Nikolaevich Klimushin',
author_email='[email protected], [email protected]',
description='Gryphon Scan is an advanced fork of Horus project, a full software solution for 3D scanning',
license='GPLv2',
keywords="gryphon scan horus ciclop scanning 3d",
url='https://github.com/nightgryphon/gryphon-scan',
packages=find_packages('src'),
package_dir={'': 'src'},
scripts=['horus'],
data_files=package_data_dirs('res'),
)