diff --git a/hypy_utils/__init__.py b/hypy_utils/__init__.py new file mode 100644 index 0000000..5becc17 --- /dev/null +++ b/hypy_utils/__init__.py @@ -0,0 +1 @@ +__version__ = "1.0.0" diff --git a/hypy_utils/__main__.py b/hypy_utils/__main__.py new file mode 100644 index 0000000..cc7a79e --- /dev/null +++ b/hypy_utils/__main__.py @@ -0,0 +1,7 @@ + +def main(): + print('🐱') + + +if __name__ == '__main__': + main() diff --git a/setup.py b/setup.py index e69de29..ebedb83 100644 --- a/setup.py +++ b/setup.py @@ -0,0 +1,36 @@ +import pathlib +import hypy_utils +from setuptools import setup, find_packages + +# The directory containing this file +HERE = pathlib.Path(__file__).parent + +# The text of the README file +README = (HERE / "README.md").read_text() + +# This call to setup() does all the work +setup( + name="hypy_utils", + version=hypy_utils.__version__, + description="Python utility functions for HyDEV", + long_description=README, + long_description_content_type="text/markdown", + url="https://github.com/hykilpikonna/HyPyUtils", + author="Azalea Gui", + author_email="me@hydev.org", + license="MIT", + classifiers=[ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + ], + packages=find_packages(exclude=("tests",)), + include_package_data=True, + install_requires=[], + entry_points={ + "console_scripts": [ + "hypy_utils=hypy_utils.__main__:main", + ] + }, +)