[+] setup.py
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
from .auth import *
|
||||||
|
|
||||||
|
__version__ = "1.0.0"
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import pathlib
|
||||||
|
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
import mc_auth
|
||||||
|
|
||||||
|
# The directory containing this file
|
||||||
|
HERE = pathlib.Path(__file__).parent
|
||||||
|
|
||||||
|
# The text of the README file
|
||||||
|
README = (HERE / "README.md").read_text('utf-8')
|
||||||
|
|
||||||
|
# This call to setup() does all the work
|
||||||
|
setup(
|
||||||
|
name="mc-auth",
|
||||||
|
version=mc_auth.__version__,
|
||||||
|
description="Python Authenticator for Minecraft with Microsoft",
|
||||||
|
long_description=README,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
url="https://github.com/hykilpikonna/mc-auth",
|
||||||
|
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=['mc_auth'],
|
||||||
|
package_data={'mc_auth': ['mc_auth/*']},
|
||||||
|
include_package_data=True,
|
||||||
|
install_requires=['setuptools', 'typing_extensions'],
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
"mc-auth=mc_auth:full_login",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user