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
28d4141e
Commit
28d4141e
authored
13 years ago
by
Piotr Ożarowski
Browse files
Options
Downloads
Patches
Plain Diff
s/-/~/ in NOTES' subsection titles
parent
d3243828
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dh_python2.rst
+5
-5
5 additions, 5 deletions
dh_python2.rst
with
5 additions
and
5 deletions
dh_python2.rst
+
5
−
5
View file @
28d4141e
...
...
@@ -41,7 +41,7 @@ supported Python version is changed. It's faster and more robust than its
competitors, though.
dependencies
------------
~~~~~~~~~~~~
dh_python2 tries to translate Python dependencies from requires.txt file to
Debian dependencies, use debian/pydist-overrides or --no-guessing-deps option
to override it. If you want dh_python2 to generate more strict dependencies
...
...
@@ -50,7 +50,7 @@ to override it. If you want dh_python2 to generate more strict dependencies
more information.
namespace feature
-----------------
~~~~~~~~~~~~~~~~~
dh_python2 parses Egg's namespace_packages.txt files (in addition to
--namespace command line argument(s)) and drops empty __init__.py files from
binary package. pycompile will regenerates them at install time and pyclean
...
...
@@ -59,7 +59,7 @@ packages). It's still a good idea to provide __init__.py file in one of
binary packages (even if all other packages use this feature).
private dirs
------------
~~~~~~~~~~~~
`/usr/share/foo`, `/usr/share/games/foo`, `/usr/lib/foo` and
`/usr/lib/games/foo` private directories are scanned for Python files
by default (where `foo` is binary package name). If your package is shipping
...
...
@@ -71,7 +71,7 @@ dh_python2 with --skip-private option and add another call with a path to this
directory and new options.
pyinstall files
---------------
~~~~~~~~~~~~~~~
Files listed in debian/pkg.pyinstall file will be installed as public modules
for all requested Python versions (dh_install doesn't know about python's site-
vs. dist-packages issue).
...
...
@@ -90,7 +90,7 @@ Examples:
files)
pyremove files
--------------
~~~~~~~~~~~~~~
If you want to remove some files installed by build system (from all supported
Python versions or only from a subset of these versions), add them to
debian/pkg.pyremove file.
...
...
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