Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
898482d0
Commit
898482d0
authored
Jun 01, 2015
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup: Fix typos
parent
acf7e91d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
setup.py
setup.py
+3
-3
No files found.
setup.py
View file @
898482d0
...
@@ -84,7 +84,7 @@ class build_py(_build_py):
...
@@ -84,7 +84,7 @@ class build_py(_build_py):
def
build_packages
(
self
):
def
build_packages
(
self
):
_build_py
.
build_packages
(
self
)
_build_py
.
build_packages
(
self
)
# emit std namespac
e
ing mantra to wendelin/__init__.py
# emit std namespacing mantra to wendelin/__init__.py
self
.
initfile
=
self
.
get_module_outfile
(
self
.
build_lib
,
(
'wendelin'
,),
'__init__'
)
self
.
initfile
=
self
.
get_module_outfile
(
self
.
build_lib
,
(
'wendelin'
,),
'__init__'
)
with
open
(
self
.
initfile
,
'w'
)
as
f
:
with
open
(
self
.
initfile
,
'w'
)
as
f
:
f
.
write
(
"# this is a namespace package (autogenerated)
\
n
"
)
f
.
write
(
"# this is a namespace package (autogenerated)
\
n
"
)
...
@@ -94,7 +94,7 @@ class build_py(_build_py):
...
@@ -94,7 +94,7 @@ class build_py(_build_py):
def
get_outputs
(
self
,
include_bytecode
=
1
):
def
get_outputs
(
self
,
include_bytecode
=
1
):
outputs
=
_build_py
.
get_outputs
(
self
,
include_bytecode
)
outputs
=
_build_py
.
get_outputs
(
self
,
include_bytecode
)
# add synthe
th
ized __init__.py to outputs, so that `pip uninstall`
# add synthe
s
ized __init__.py to outputs, so that `pip uninstall`
# works without leaving it
# works without leaving it
outputs
.
append
(
self
.
initfile
)
outputs
.
append
(
self
.
initfile
)
if
include_bytecode
:
if
include_bytecode
:
...
@@ -200,7 +200,7 @@ def git_lsfiles(dirname):
...
@@ -200,7 +200,7 @@ def git_lsfiles(dirname):
# contains generated SOURCES.txt and sdist, if run from unpacked tarball, would
# contains generated SOURCES.txt and sdist, if run from unpacked tarball, would
# reuse that information.
# reuse that information.
#
#
# (to setuptools - beause we have to use some distribution and we already
# (to setuptools - be
c
ause we have to use some distribution and we already
# depend on setuptools)
# depend on setuptools)
if
os
.
path
.
exists
(
'.git'
):
# FIXME won't work if we are checked out as e.g. submodule
if
os
.
path
.
exists
(
'.git'
):
# FIXME won't work if we are checked out as e.g. submodule
register_as_entrypoint
(
git_lsfiles
,
'git'
,
'setuptools.file_finders'
,
'setuptools'
)
register_as_entrypoint
(
git_lsfiles
,
'git'
,
'setuptools.file_finders'
,
'setuptools'
)
...
...
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