Cleanup packaging
This commit is contained in:
parent
751b64bc45
commit
2857dcf926
3 changed files with 9 additions and 4 deletions
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -1,7 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export PYBUILD_NAME=swh-lister
|
||||
export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs swh/lister
|
||||
export PYBUILD_NAME=swh.lister
|
||||
export export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
override_dh_install:
|
||||
dh_install
|
||||
rm -v $(CURDIR)/debian/python3-*/usr/lib/python*/dist-packages/swh/__init__.py
|
||||
|
|
4
setup.py
4
setup.py
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from setuptools import setup
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
|
||||
def parse_requirements():
|
||||
|
@ -21,7 +21,7 @@ setup(
|
|||
author='Software Heritage developers',
|
||||
author_email='swh-devel@inria.fr',
|
||||
url='https://forge.softwareheritage.org/diffusion/DLSGH/',
|
||||
packages=['swh.lister'],
|
||||
packages=find_packages(),
|
||||
scripts=['bin/ghlister'],
|
||||
install_requires=parse_requirements(),
|
||||
setup_requires=['vcversioner'],
|
||||
|
|
1
swh/__init__.py
Normal file
1
swh/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
|
Loading…
Add table
Add a link
Reference in a new issue