Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Trigger Distribution
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Trigger Distribution
Commits
6c053871
Commit
6c053871
authored
Jul 01, 2019
by
Dimitris Lampridis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: improve installation scripts
parent
eb0e3784
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
18 deletions
+30
-18
Makefile
software/lib/Makefile
+11
-1
.gitignore
software/lib/Python/.gitignore
+3
-0
PyWrtd.py
software/lib/Python/PyWrtd.py
+0
-0
__init__.py
software/lib/Python/PyWrtd/__init__.py
+0
-6
README.md
software/lib/Python/README.md
+0
-0
setup.py
software/lib/Python/setup.py
+16
-11
No files found.
software/lib/Makefile
View file @
6c053871
...
...
@@ -15,6 +15,9 @@ ifeq ($(SO_VERSION_XYZ),)
SO_VERSION_XYZ
:=
0
endif
PREFIX
?=
/usr/local
DESTLIBDIR
?=
$(PREFIX)
/lib
WRTD_DEP_TRTL
?=
../../dependencies/mock-turtle/
MTLIB
=
$(WRTD_DEP_TRTL)
/software/lib/libmockturtle.a
...
...
@@ -55,6 +58,13 @@ clean:
%.o
:
%.c
$(CC)
-c
$(CFLAGS)
-MMD
$<
-o
$@
install
:
install
:
$(LIBSO) $(LIBSO_XYZ)
install
-d
$(DESTLIBDIR)
install
-m
0755
$(LIBSO_XYZ)
$(DESTLIBDIR)
test
-e
$(DESTLIBDIR)
/
$(LIBSO)
||
ln
-s
$(LIBSO_XYZ)
$(DESTLIBDIR)
/
$(LIBSO)
uninstall
:
rm
-f
$(DESTLIBDIR)
/
$(LIBSO)
$(DESTLIBDIR)
/
$(LIBSO_XYZ)
rmdir
--ignore-fail-on-non-empty
$(DESTLIBDIR)
-include
$(wildcard
*.d)
software/lib/Python/.gitignore
View file @
6c053871
*.egg-info/
dist/
build/
*.pyc
software/lib/Python/PyWrtd
/PyWrtd
.py
→
software/lib/Python/PyWrtd.py
View file @
6c053871
File moved
software/lib/Python/PyWrtd/__init__.py
deleted
100644 → 0
View file @
eb0e3784
"""
@package docstring
@copyright: Copyright (c) 2019 CERN (home.cern)
SPDX-License-Identifier: LGPL-3.0-or-later
"""
software/lib/Python/README.md
0 → 100644
View file @
6c053871
software/lib/Python/setup.py
View file @
6c053871
#!/usr/bin/env python
from
distutils.core
import
setup
from
setuptools
import
setup
setup
(
name
=
'PyWrtd'
,
version
=
'1.0'
,
description
=
'Python wrapper for WRTD'
,
author
=
'Milosz Malczak'
,
author_email
=
'milosz.malczak@cern.ch'
,
maintainer
=
"Dimitris Lampridis"
,
maintainer_email
=
"dimitris.lampridis@cern.ch"
,
url
=
'http://www.ohwr.org/projects/wrtd'
,
packages
=
[
'PyWrtd'
],
license
=
'LGPLv3'
,
setup
(
name
=
'PyWrtd'
,
version
=
'1.0'
,
description
=
'Python wrapper for WRTD'
,
author
=
'Milosz Malczak'
,
author_email
=
'milosz.malczak@cern.ch'
,
maintainer
=
"Dimitris Lampridis"
,
maintainer_email
=
"dimitris.lampridis@cern.ch"
,
url
=
'http://www.ohwr.org/projects/wrtd'
,
project_urls
=
{
"Documentation"
:
"https://wrtd.readthedocs.io"
,
"Forum"
:
"https://forums.ohwr.org/c/wrtd"
,
},
py_modules
=
[
'PyWrtd'
],
license
=
'LGPLv3'
,
)
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