Skip to content
Snippets Groups Projects
Commit 76eb3640 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Initial commit of the swh.model skeleton

parents
No related branches found
No related tags found
No related merge requests found
*.pyc
*.sw?
*~
.coverage
.eggs/
__pycache__
*.egg-info/
Copyright (C) 2015 The Software Heritage developers
See http://www.softwareheritage.org/ for more information.
This diff is collapsed.
include Makefile
include requirements.txt
include version.txt
# Makefile driver for SWH Python modules. DO NOT CHANGE.
# You can add custom Makefile rules to Makefile.local
include ../Makefile.python
-include Makefile.local
<module-name> (0.0.1-1) unstable; urgency=low
*
-- AUTHOR-NAME <AUTHOR-EMAIL> <UTC-DATE>
9
Source: swh-model
Maintainer: Software Heritage developers <swh-devel@inria.fr>
Section: python
Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
python3-all,
python3-nose,
python3-setuptools,
python3-vcversioner
Standards-Version: 3.9.6
Homepage: https://forge.softwareheritage.org/diffusion/DMOD/
Package: python3-swh.model
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Software Heritage data model
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
Copyright: 2015 The Software Heritage developers
License: GPL-3+
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General Public
License version 3 can be found in `/usr/share/common-licenses/GPL-3'.
#!/usr/bin/make -f
export PYBUILD_NAME=swh-model
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
3.0 (quilt)
# Add here external Python modules dependencies, one per line. Module names
# should match https://pypi.python.org/pypi names. For the full spec or
# dependency lines, see https://pip.readthedocs.org/en/1.1/requirements.html
vcversioner
setup.py 0 → 100644
from setuptools import setup
def parse_requirements():
requirements = []
with open('requirements.txt') as f:
for line in f.readlines():
line = line.strip()
if not line or line.startswith('#'):
continue
requirements.append(line)
return requirements
setup(
name='swh.model',
description='Software Heritage data model',
author='Software Heritage developers',
author_email='swh-devel@inria.fr',
url='https://forge.softwareheritage.org/diffusion/DMOD/',
packages=['swh.model'], # packages's modules
scripts=[], # scripts to package
install_requires=parse_requirements(),
setup_requires=['vcversioner'],
vcversioner={},
include_package_data=True,
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment