Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-py-template
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Development
swh-py-template
Commits
c52353d6
Commit
c52353d6
authored
7 years ago
by
Nicolas Dandrimont
Browse files
Options
Downloads
Patches
Plain Diff
Update for pkgutil namespace packages
parent
80893532
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/control
+3
-3
3 additions, 3 deletions
debian/control
debian/rules
+2
-4
2 additions, 4 deletions
debian/rules
swh/__init__.py
+1
-0
1 addition, 0 deletions
swh/__init__.py
with
6 additions
and
7 deletions
debian/control
+
3
−
3
View file @
c52353d6
Source: <module-name>
Source: <
dash-separated-
module-name>
Maintainer: Software Heritage developers <swh-devel@inria.fr>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
dh-python
(>= 2)
,
python3-all,
python3-nose,
python3-setuptools,
...
...
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 9),
python3-swh.storage,
python3-vcversioner
Standards-Version: 3.9.6
Homepage: https://forge.softwareheritage.org/
diffusion/<PHABRICATOR_CALLSIGN
>/
Homepage: https://forge.softwareheritage.org/
source/<phabricator short name
>/
Package: python3-<dot-separated-name-module>
Architecture: all
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
2
−
4
View file @
c52353d6
#!/usr/bin/make -f
export PYBUILD_NAME=<dash-separated-module-name>
export PYBUILD_NAME=<dot-separated-module-name>
export PYBUILD_TEST_ARGS=--with-doctest -sva !db,!fs
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
This diff is collapsed.
Click to expand it.
swh/__init__.py
0 → 100644
+
1
−
0
View file @
c52353d6
__path__
=
__import__
(
'
pkgutil
'
).
extend_path
(
__path__
,
__name__
)
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