Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamer-coding authored Jun 16, 2024
1 parent 5811bcd commit eefe8cb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@
#
# copyright 2020 The Meson-UI development team
#
from setuptools import setup
from setuptools import setup, find_packages
from mesonui.packageinfo import PackageInfo as PyPiPackage

pypi_pkg: PyPiPackage = PyPiPackage()

try:
pypi_pkg: PyPiPackage = PyPiPackage()
except Exception as e:
print(f"Error: Failed to retrieve package information - {e}")
raise

setup(
author=pypi_pkg.get_name(),
Expand All @@ -21,8 +24,7 @@
long_description=pypi_pkg.long_description(),
version=pypi_pkg.get_version(),
license=pypi_pkg.get_license(),
packages=pypi_pkg.get_packages(),
data_files=pypi_pkg.get_data_files(),
packages=find_packages(),
entry_points={
'console_scripts': ['meson-ui=mesonui.mesonuimain:mesonui_main'],
},
Expand Down

0 comments on commit eefe8cb

Please sign in to comment.