Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
python-defaults
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
python-defaults
Commits
43f3ac59
Commit
43f3ac59
authored
14 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
add py_builddir macro
parent
246178b8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+7
-0
7 additions, 0 deletions
debian/changelog
debian/python.mk
+3
-0
3 additions, 0 deletions
debian/python.mk
with
10 additions
and
0 deletions
debian/changelog
+
7
−
0
View file @
43f3ac59
python-defaults (2.6.6-14) UNRELEASED; urgency=low
* python.mk: add py_builddir macro.
$(call py_builddir, 2.6) returns "build/lib.linux-x86_64-2.6" on amd64
-- Piotr Ożarowski <piotr@debian.org> Sun, 27 Mar 2011 16:29:05 +0200
python-defaults (2.6.6-13) experimental; urgency=low
* Add python2.7 as a supported Python version.
...
...
This diff is collapsed.
Click to expand it.
debian/python.mk
+
3
−
0
View file @
43f3ac59
...
...
@@ -39,3 +39,6 @@ py_libdir_sh = $$(_py_=$(strip $(1)); python$${_py_\#python*} -c 'from distutils
# Arguments to pass to setup.py install
py_setup_install_args
=
--install-layout
=
deb
# distutils' build directory
py_builddir
=
$(
shell python
$(
strip
$(
1
))
-c
"from distutils.command.build import build; from distutils.core import Distribution; b = build(Distribution(
)
); b.finalize_options(); print(b.build_platlib)"
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment