Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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-web
Commits
05abfb07
Commit
05abfb07
authored
7 years ago
by
Nicolas Dandrimont
Browse files
Options
Downloads
Patches
Plain Diff
Cleaner packaging
parent
3db3ca64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
debian/control
+1
-1
1 addition, 1 deletion
debian/control
debian/rules
+5
-6
5 additions, 6 deletions
debian/rules
setup.py
+2
-8
2 additions, 8 deletions
setup.py
swh/__init__.py
+1
-0
1 addition, 0 deletions
swh/__init__.py
with
9 additions
and
15 deletions
debian/control
+
1
−
1
View file @
05abfb07
...
...
@@ -3,7 +3,7 @@ Maintainer: Software Heritage developers <swh-devel@inria.fr>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
dh-python
(>= 2)
,
python3-all,
python3-docutils,
python3-nose,
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
5
−
6
View file @
05abfb07
#!/usr/bin/make -f
export PYBUILD_NAME=swh
-
web
TEST_DIRS := $(shell find swh -name tests -type d)
export PYBUILD_NAME=swh
.
web
export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
PYBUILD_SYSTEM=custom \
PYBUILD_TEST_ARGS="cd {build_dir}; python{version} -m nose $(TEST_DIRS) -sva '!db'" \
dh_auto_test
override_dh_install:
dh_install
rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py
This diff is collapsed.
Click to expand it.
setup.py
+
2
−
8
View file @
05abfb07
#!/usr/bin/env python3
from
setuptools
import
setup
from
setuptools
import
setup
,
find_packages
def
parse_requirements
():
...
...
@@ -21,13 +21,7 @@ setup(
author
=
'
Software Heritage developers
'
,
author_email
=
'
swh-devel@inria.fr
'
,
url
=
'
https://forge.softwareheritage.org/diffusion/DWUI/
'
,
packages
=
[
'
swh.web
'
,
'
swh.web.common
'
,
'
swh.web.settings
'
,
'
swh.web.api
'
,
'
swh.web.api.views
'
,
'
swh.web.tests
'
,
'
swh.web.tests.api
'
,
'
swh.web.tests.api.views
'
,
'
swh.web.tests.common
'
,
'
swh.web.browse
'
,
'
swh.web.browse.views
'
,
'
swh.web.tests.browse
'
,
'
swh.web.tests.browse.views
'
,
'
swh.web.tests.browse.views.data
'
],
packages
=
find_packages
(),
scripts
=
[],
install_requires
=
parse_requirements
(),
setup_requires
=
[
'
vcversioner
'
],
...
...
This diff is collapsed.
Click to expand it.
swh/__init__.py
0 → 100644
+
1
−
0
View file @
05abfb07
__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