FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
visioncpp/contrib/python/setup.py at License-update · codeplaysoftware/visioncpp · GitHub
This repository was archived by the owner on Apr 29, 2024. It is now read-only.
codeplaysoftware
visioncpp
Repository navigation
Code
Issues
Pull requests
1
(1)
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
visioncpp
/
contrib
/
python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
65 lines (53 loc) · 1.67 KB
Breadcrumbs
visioncpp
/
contrib
/
python
/
setup.py
Copy path
File metadata and controls
65 lines (53 loc) · 1.67 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from
setuptools
import
setup
from
pip
.
req
import
parse_requirements
def
visioncpp_headers
():
"""
Find the VisionCpp headers using a recursive walk.
Python didn't support glob "**/" until 3.5.
Returns:
str[]: Relative path to VisionCpp headers.
"""
import
os
cwd
=
os
.
getcwd
()
# Change to the module root directory, since package_data paths must be
# relative to this.
module_root
=
"visioncpp"
os
.
chdir
(
module_root
)
# Recursively list header files.
header_root
=
"lib/include/"
header_extension
=
".hpp"
visioncpp_headers
=
[
os
.
path
.
join
(
dp
,
f
)
for
dp
,
dn
,
filenames
in
os
.
walk
(
header_root
,
followlinks
=
True
)
for
f
in
filenames
if
os
.
path
.
splitext
(
f
)[
1
]
==
header_extension
]
# Restore the working directory.
os
.
chdir
(
cwd
)
return
visioncpp_headers
install_reqs
=
parse_requirements
(
'./requirements.txt'
,
session
=
False
)
requirements
=
[
str
(
ir
.
req
)
for
ir
in
install_reqs
]
setup
(
name
=
'visioncpp'
,
version
=
'0.1.0'
,
description
=
'Fast, GPU-accelerated computer vision and image processing'
,
url
=
(
'https://github.com/ChrisCummins/visioncpp/tree/'
'development/contrib/python'
),
author
=
'Chris Cummins'
,
author_email
=
'chrisc.101@gmail.com'
,
license
=
'Apache License, Version 2.0'
,
packages
=
[
'visioncpp'
],
package_data
=
{
'visioncpp'
:
visioncpp_headers
()},
scripts
=
[],
test_suite
=
'nose.collector'
,
tests_require
=
[
'nose'
],
keywords
=
[
'vision'
,
'image processing'
,
'gpu'
,
'sycl'
,
'computecpp'
,
'machine learning'
],
install_requires
=
requirements
,
data_files
=
[],
zip_safe
=
False
)
Back
|
FazBrowse Home
|
New Git URL