Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
swh-model
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Renaud Boyer
swh-model
Commits
0b7f217d
Commit
0b7f217d
authored
7 years ago
by
Nicolas Dandrimont
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup packaging
parent
34228c51
No related branches found
Branches containing commit
Tags
v0.0.19
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
-5
5 additions, 5 deletions
debian/rules
setup.py
+2
-5
2 additions, 5 deletions
setup.py
swh/__init__.py
+1
-0
1 addition, 0 deletions
swh/__init__.py
with
9 additions
and
11 deletions
debian/control
+
1
−
1
View file @
0b7f217d
...
...
@@ -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 (>= 3.5) | python3-pyblake2,
python3-all,
python3-nose,
...
...
This diff is collapsed.
Click to expand it.
debian/rules
+
5
−
5
View file @
0b7f217d
#!/usr/bin/make -f
export PYBUILD_NAME=swh-model
export PYBUILD_NAME=swh.model
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 swh -sva '!db,!fs'" \
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
−
5
View file @
0b7f217d
import
hashlib
from
setuptools
import
setup
from
setuptools
import
setup
,
find_packages
def
parse_requirements
():
...
...
@@ -28,10 +28,7 @@ setup(
author
=
'
Software Heritage developers
'
,
author_email
=
'
swh-devel@inria.fr
'
,
url
=
'
https://forge.softwareheritage.org/diffusion/DMOD/
'
,
packages
=
[
'
swh.model
'
,
'
swh.model.fields
'
,
'
swh.model.tests
'
,
'
swh.model.tests.fields
'
,
],
# packages's modules
packages
=
find_packages
(),
# packages's modules
scripts
=
[],
# scripts to package
install_requires
=
parse_requirements
()
+
extra_requirements
,
setup_requires
=
[
'
vcversioner
'
],
...
...
This diff is collapsed.
Click to expand it.
swh/__init__.py
0 → 100644
+
1
−
0
View file @
0b7f217d
__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