Skip to content

Commit

Permalink
Merge pull request #2 from niklashenning/development
Browse files Browse the repository at this point in the history
v1.0.1
  • Loading branch information
niklashenning authored Aug 22, 2024
2 parents 29f2138 + dccfa4c commit e2953da
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# pytablericons

[![PyPI](https://img.shields.io/badge/pypi-v1.0.0-blue)](https://pypi.org/project/pytablericons)
[![PyPI](https://img.shields.io/badge/pypi-v1.0.1-blue)](https://pypi.org/project/pytablericons)
[![Python](https://img.shields.io/badge/python-3.7+-blue)](https://github.com/niklashenning/pytablericons)
[![Build](https://img.shields.io/badge/build-passing-neon)](https://github.com/niklashenning/pytablericons)
[![Coverage](https://img.shields.io/badge/coverage-100%25-green)](https://github.com/niklashenning/pytablericons)
Expand Down
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

[options.entry_points]
pyinstaller40 =
hook-dirs = pytablericons.hooks:get_hook_dirs
13 changes: 7 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@


with open('README.md', 'r') as fh:
readme = "\n" + fh.read()
readme = '\n' + fh.read()

setup(
name='pytablericons',
version='1.0.0',
version='1.0.1',
author='Niklas Henning',
author_email='[email protected]',
license='MIT',
packages=find_namespace_packages(where="src"),
package_dir={"": "src"},
packages=find_namespace_packages(where='src'),
package_dir={'': 'src'},
package_data={
"pytablericons.icons.filled": ["*.svg"],
"pytablericons.icons.outline": ["*.svg"],
'pytablericons.icons.filled': ['*.svg'],
'pytablericons.icons.outline': ['*.svg'],
'pytablericons.hooks': ['*.py']
},
install_requires=[
'pygame>=2.5.2',
Expand Down
5 changes: 5 additions & 0 deletions src/pytablericons/hooks/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import os


def get_hook_dirs():
return [os.path.dirname(__file__)]
3 changes: 3 additions & 0 deletions src/pytablericons/hooks/hook-pytablericons.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from PyInstaller.utils.hooks import collect_data_files

datas = collect_data_files('pytablericons', excludes=['hooks'])

0 comments on commit e2953da

Please sign in to comment.