Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
15d0d84b
Commit
15d0d84b
authored
Oct 24, 2011
by
Baruch Sterin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pyabc: rearrange files and locations
parent
521ec0fc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
src/python/module.make
+1
-3
src/python/package.py
+4
-1
src/python/reachx_cmd.py
+0
-0
src/python/setup.py
+1
-1
No files found.
src/python/module.make
View file @
15d0d84b
...
@@ -57,7 +57,7 @@ pyabc.tgz : $(PROG) $(ABC_PYTHON_SRC:_wrap.c=.py) $(ABC_PYTHON_FILES_PREFIX)/abc
...
@@ -57,7 +57,7 @@ pyabc.tgz : $(PROG) $(ABC_PYTHON_SRC:_wrap.c=.py) $(ABC_PYTHON_FILES_PREFIX)/abc
$(ABC_PYTHON)
$(ABC_PYTHON_FILES_PREFIX)/package.py
\
$(ABC_PYTHON)
$(ABC_PYTHON_FILES_PREFIX)/package.py
\
--abc
=
$(PROG)
\
--abc
=
$(PROG)
\
--abc_sh
=
$(ABC_PYTHON_FILES_PREFIX)
/abc.sh
\
--abc_sh
=
$(ABC_PYTHON_FILES_PREFIX)
/abc.sh
\
--pyabc
=
$
(
ABC_PYTHON_
SRC:_wrap.c
=
.py
)
\
--pyabc
=
$(ABC_PYTHON_
FILES_PREFIX
)
\
--out
=
$@
\
--out
=
$@
\
$(ABC_PYTHON_OPTIONS)
$(ABC_PYTHON_OPTIONS)
...
@@ -66,8 +66,6 @@ PYABC_INSTALL_TARGET := $(PYABC_INSTALL_TARGET)
...
@@ -66,8 +66,6 @@ PYABC_INSTALL_TARGET := $(PYABC_INSTALL_TARGET)
PYABC_INSTALL_DIR
?=
/hd/common/pyabc/builds/pyabc_builds/
PYABC_INSTALL_DIR
?=
/hd/common/pyabc/builds/pyabc_builds/
.PHONY
:
zzz
pyabc_install_target
:
pyabc_extension_bdist
pyabc_install_target
:
pyabc_extension_bdist
mkdir
-p
"$(PYABC_INSTALL_DIR)/$(PYABC_INSTALL_TARGET)"
mkdir
-p
"$(PYABC_INSTALL_DIR)/$(PYABC_INSTALL_TARGET)"
tar
\
tar
\
...
...
src/python/package.py
View file @
15d0d84b
...
@@ -70,7 +70,10 @@ def package(abc_exe, abc_sh, pyabc, ofname, scripts_dir, use_sys):
...
@@ -70,7 +70,10 @@ def package(abc_exe, abc_sh, pyabc, ofname, scripts_dir, use_sys):
add_file
(
tf
,
fullname
,
os
.
path
.
join
(
"pyabc/scripts"
,
fn
),
0666
,
mtime
)
add_file
(
tf
,
fullname
,
os
.
path
.
join
(
"pyabc/scripts"
,
fn
),
0666
,
mtime
)
add_dir
(
tf
,
"pyabc/lib"
,
mtime
)
add_dir
(
tf
,
"pyabc/lib"
,
mtime
)
add_file
(
tf
,
pyabc
,
"pyabc/lib/pyabc.py"
,
0666
,
mtime
)
for
entry
in
os
.
listdir
(
pyabc
):
if
entry
.
endswith
(
'.py'
):
add_file
(
tf
,
os
.
path
.
join
(
pyabc
,
entry
),
os
.
path
.
join
(
"pyabc/lib"
,
entry
),
0666
,
mtime
)
if
not
use_sys
:
if
not
use_sys
:
# ZIP standard library
# ZIP standard library
...
...
s
cripts
/reachx_cmd.py
→
s
rc/python
/reachx_cmd.py
View file @
15d0d84b
File moved
src/python/setup.py
View file @
15d0d84b
...
@@ -63,5 +63,5 @@ setup(
...
@@ -63,5 +63,5 @@ setup(
name
=
'pyabc'
,
name
=
'pyabc'
,
version
=
'1.0'
,
version
=
'1.0'
,
ext_modules
=
[
ext
],
ext_modules
=
[
ext
],
py_modules
=
[
'pyabc'
,
'getch'
,
'pyabc_split'
,
'redirect'
]
py_modules
=
[
'pyabc'
,
'getch'
,
'pyabc_split'
,
'redirect'
,
'reachx_cmd'
]
)
)
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