-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
43 lines (36 loc) · 1.18 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
42
43
"""
Description
-----------
distutils setup.py for ccad. View model.py for a full description of
ccad.
Author
------
View AUTHORS.
License
-------
Distributed under the GNU LESSER GENERAL PUBLIC LICENSE Version 3.
View LICENSE for details.
"""
import os
import sys
import glob
import distutils.core
import distutils.dir_util
import distutils.sysconfig
name = 'ccad'
version = '0.13' # Change also in display.py, doc/conf.py
# Include the documentation
prefix = 'share/doc/ccad/' # Don't like including the share prefix.
# Probably too linux-specific ***
data_files = [(prefix + 'html', glob.glob('doc/html/*.html')),
(prefix + 'html/_images', glob.glob('doc/html/_images/*')),
(prefix + 'html/_static', glob.glob('doc/html/_static/*')),
(prefix + 'html/_sources', glob.glob('doc/html/_sources/*'))]
# Install the module
distutils.core.setup(name=name,
version=version,
url='UNKNOWN',
py_modules=['ccad.model', 'ccad.display'],
package_dir={'ccad': '.'},
data_files=data_files,
requires=['OCC', 'PyQt4'])