Skip to content

Commit

Permalink
fix(setup): use the proper constant for package for the program name
Browse files Browse the repository at this point in the history
setup.py will probably be refactored in the near future and only be kept
for compatibility with cachito. While this refactor doesn't happen, we
should at least keep it working.
  • Loading branch information
bruno-fs committed Jun 27, 2023
1 parent 500ca98 commit 5fa4717
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@

from setuptools import find_packages, setup

from qpc.release import AUTHOR, AUTHOR_EMAIL, ENTRYPOINT, PKG_NAME, URL, VERSION
from qpc.release import (
AUTHOR,
AUTHOR_EMAIL,
ENTRYPOINT,
QPC_VAR_PROGRAM_NAME,
URL,
VERSION,
)

BASE_QPC_DIR = Path(__file__).absolute().parent
sys.path.insert(0, BASE_QPC_DIR / "qpc")

setup(
name=PKG_NAME,
name=QPC_VAR_PROGRAM_NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
Expand Down

0 comments on commit 5fa4717

Please sign in to comment.