diff --git a/.gitignore b/.gitignore index b9cab85..121c907 100644 --- a/.gitignore +++ b/.gitignore @@ -115,3 +115,4 @@ dmypy.json # Custom .idea +.iml diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..ad329ec --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include ocpm/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..dce7db0 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# ocpm - OpenCore Package Manager + diff --git a/ocpm/__init__.py b/ocpm/__init__.py new file mode 100644 index 0000000..1f356cc --- /dev/null +++ b/ocpm/__init__.py @@ -0,0 +1 @@ +__version__ = '1.0.0' diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..6aa6808 --- /dev/null +++ b/setup.py @@ -0,0 +1,41 @@ +import pathlib + +from setuptools import setup + +import ocpm + +# 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="ocpm", + version=ocpm.__version__, + description="OpenCore Package Manager by HyDEV", + long_description=README, + long_description_content_type="text/markdown", + url="https://github.com/hykilpikonna/ocpm", + author="Azalea Gui", + author_email="me@hydev.org", + license="MIT", + classifiers=[ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + ], + packages=['ocpm'], + package_data={'ocpm': ['ocpm/*']}, + include_package_data=True, + install_requires=['setuptools', 'hypy_utils'], + entry_points={ + "console_scripts": [ + "ocpm=ocpm.main:run", + ] + }, +)