Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
ORG.Asm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
23
Issues
23
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ORG.Asm
ORG.Asm
Commits
d73af4c3
Commit
d73af4c3
authored
Aug 15, 2015
by
Eric Coissac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force the run of the littlebigman command before every command
parent
f2fccc31
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
dist.py
distutils.ext/obidistutils/dist.py
+12
-1
No files found.
distutils.ext/obidistutils/dist.py
View file @
d73af4c3
...
...
@@ -4,7 +4,10 @@ Created on 20 oct. 2012
@author: coissac
'''
from
distutils.dist
import
Distribution
as
ori_Distribution
try
:
from
setuptools.dist
import
Distribution
as
ori_Distribution
except
ImportError
:
from
distutils.dist
import
Distribution
as
ori_Distribution
class
Distribution
(
ori_Distribution
):
...
...
@@ -29,6 +32,14 @@ class Distribution(ori_Distribution):
"By default the name is PACKAGE-VERSION"
))
def
run_commands
(
self
):
"""Run each command that was seen on the setup script command line.
Uses the list of commands found and cache of command objects
created by 'get_command_obj()'.
"""
self
.
run_command
(
'littlebigman'
)
ori_Distribution
.
run_commands
(
self
)
def
has_executables
(
self
):
return
self
.
executables
is
not
None
and
self
.
executables
...
...
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