Skip to content

Commit

Permalink
Merge pull request #286 from amcmahon-rh/RHELDST-17607
Browse files Browse the repository at this point in the history
Use pubtools namespace to resolve init file conflict [RHELDST-17607]
  • Loading branch information
amcmahon-rh authored Jun 10, 2024
2 parents cbf5248 + a7ea163 commit b851bbd
Show file tree
Hide file tree
Showing 62 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion pubtools/__init__.py

This file was deleted.

5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from setuptools import setup, find_packages
from setuptools import setup, find_namespace_packages


def get_description():
Expand All @@ -22,7 +22,8 @@ def get_requirements():
setup(
name="pubtools-pulp",
version="1.30.1",
packages=find_packages(exclude=["tests"]),
packages=find_namespace_packages(where="src"),
package_dir={"": "src"},
url="https://github.com/release-engineering/pubtools-pulp",
license="GNU General Public License",
description=get_description(),
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ allowlist_externals=sh
deps=
-rtest-requirements.txt
commands=
sh -c 'pylint pubtools; test $(( $? & (1|2|4|32) )) = 0'
sh -c 'pylint src/pubtools/_pulp; test $(( $? & (1|2|4|32) )) = 0'

[testenv:cov]
usedevelop=true
commands=
pytest --cov-report=html --cov-report=xml --cov=pubtools {posargs}
pytest --cov-report=html --cov-report=xml --cov=pubtools._pulp {posargs}

[testenv:docs]
use_develop=true
Expand Down

0 comments on commit b851bbd

Please sign in to comment.