Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Sofus Albert Høgsbro Rose
openlut
Commits
da01b5e9
Verified
Commit
da01b5e9
authored
Jan 26, 2017
by
Sofus Albert Høgsbro Rose
Browse files
Removed system pybind11 deps, added LICENCE, other housekeeping.
parent
ad85ccc0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
11 deletions
+29
-11
LICENCE
LICENCE
+21
-0
project.geany
project.geany
+1
-1
setup.cfg
setup.cfg
+2
-0
setup.py
setup.py
+5
-10
No files found.
LICENCE
0 → 100644
View file @
da01b5e9
MIT License
Copyright (c) 2017 Sofus Rose
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
openlut-
project
→
project
.geany
View file @
da01b5e9
...
...
@@ -28,7 +28,7 @@ long_line_column=72
[files]
current_page=0
FILE_NAME_0=
1995
;Python;0;EUTF-8;1;1;0;%2Fhome%2Fsofus%2Fsubhome%2Fsrc%2Fopenlut%2F
openlut
.py;0;4
FILE_NAME_0=
331
;Python;0;EUTF-8;1;1;0;%2Fhome%2Fsofus%2Fsubhome%2Fsrc%2Fopenlut%2F
setup
.py;0;4
[VTE]
last_dir=/home/sofus/subhome/src/linemarch
...
...
setup.cfg
0 → 100644
View file @
da01b5e9
[metadata]
description-file = README.md
setup.py
View file @
da01b5e9
...
...
@@ -3,17 +3,12 @@
import
sys
,
os
import
os.path
as
path
#~ from sysconfig import get_python_version, get_path
from
setuptools
import
setup
from
setuptools
import
Extension
from
setuptools
import
find_packages
#Weirdly long way to get to the actual header files we need to include.
#~ pyPath = path.join(path.abspath(get_path('include') + os.sep + '..'), 'site/python{}'.format(get_python_version()))
#Better - Mac & Linux only.
#~ pyPath = '/usr/local/include/python{}'.format(get_python_version())'
#pybind11, a dependency, can report its own includes!
import
pybind11
#Make sure we're using gcc.
os
.
environ
[
"CC"
]
=
"g++"
...
...
@@ -24,7 +19,7 @@ link_args = ['-fopenmp']
olOpt
=
Extension
(
'openlut.lib.olOpt'
,
sources
=
[
'openlut/lib/olOpt.cpp'
],
#~
include_dirs=[py
Path], #Include from the the python3 source code
.
include_dirs
=
[
py
bind11
.
get_include
()],
#Include pybind11
.
language
=
'c++'
,
extra_compile_args
=
cpp_args
,
extra_link_args
=
cpp_args
...
...
@@ -43,9 +38,9 @@ setup( name = 'openlut',
license
=
'MIT Licence'
,
keywords
=
'color
image
images
processing'
,
keywords
=
[
'color
'
,
'
image
'
,
'
images
'
,
'
processing'
]
,
install_requires
=
[
'numpy'
,
'wand'
,
'scipy'
,
'pygame'
,
'PyOpenGL'
,
'setuptools'
],
install_requires
=
[
'numpy'
,
'wand'
,
'scipy'
,
'pygame'
,
'PyOpenGL'
,
'setuptools'
,
'pybind11'
],
classifiers
=
[
'Development Status :: 3 - Alpha'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment