mirror of
https://github.com/MelisaDev/melisa.git
synced 2024-11-11 19:07:28 +03:00
commit
31e7462cf2
3 changed files with 79 additions and 0 deletions
|
@ -39,6 +39,15 @@ It supports Discord V10 REST API and Gateway
|
||||||
We are trying to make our library optimized.
|
We are trying to make our library optimized.
|
||||||
We are going to create really cool cache configuration, so don't worry about the RAM :)
|
We are going to create really cool cache configuration, so don't worry about the RAM :)
|
||||||
|
|
||||||
|
---
|
||||||
|
## Install MelisaPy
|
||||||
|
|
||||||
|
NOTE: Currently, installation is only possible using GitHub
|
||||||
|
|
||||||
|
```commandline
|
||||||
|
pip install git+https://github.com/MelisaDev/melisa
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Events Listening
|
## Events Listening
|
||||||
|
|
|
@ -12,3 +12,5 @@ __title__ = "Melisa"
|
||||||
__description__ = "Cache-configurable module to interact with the Discord API."
|
__description__ = "Cache-configurable module to interact with the Discord API."
|
||||||
__author__ = "MelisaDev"
|
__author__ = "MelisaDev"
|
||||||
__license__ = "MIT"
|
__license__ = "MIT"
|
||||||
|
__version__ = '0.0.1a0'
|
||||||
|
|
||||||
|
|
68
setup.py
Normal file
68
setup.py
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
import re
|
||||||
|
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
||||||
|
extras_require = []
|
||||||
|
requirements = []
|
||||||
|
|
||||||
|
with open('requirements.txt', encoding='utf-8') as file:
|
||||||
|
requirements = file.read().splitlines()
|
||||||
|
|
||||||
|
with open('speed-requirements.txt', encoding='utf-8') as file:
|
||||||
|
extras_require = file.read().splitlines()
|
||||||
|
|
||||||
|
with open('melisa/__init__.py', encoding='utf-8') as file:
|
||||||
|
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', file.read(), re.MULTILINE).group(1)
|
||||||
|
|
||||||
|
if version is None:
|
||||||
|
raise RuntimeError('Version is not set!')
|
||||||
|
|
||||||
|
readme = ''
|
||||||
|
|
||||||
|
with open('README.md', encoding='utf-8') as file:
|
||||||
|
readme = file.read()
|
||||||
|
|
||||||
|
|
||||||
|
packages = [
|
||||||
|
'melisa',
|
||||||
|
'melisa.listeners',
|
||||||
|
'melisa.models',
|
||||||
|
'melisa.models.app',
|
||||||
|
'melisa.models.guild',
|
||||||
|
'melisa.models.message',
|
||||||
|
'melisa.models.user',
|
||||||
|
'melisa.utils',
|
||||||
|
'melisa.core'
|
||||||
|
]
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='melisa',
|
||||||
|
author='grey-cat, TheMisterSenpai',
|
||||||
|
url='https://github.com/MelisaDev/melisa',
|
||||||
|
version=version,
|
||||||
|
packages=packages,
|
||||||
|
license='MIT',
|
||||||
|
description='Cache-optimized Discord microframework for Python 3',
|
||||||
|
long_description=readme,
|
||||||
|
long_description_content_type="text/markdown",
|
||||||
|
include_package_data=True,
|
||||||
|
python_requires='>=3.8',
|
||||||
|
install_requires=requirements,
|
||||||
|
extras_require=extras_require,
|
||||||
|
classifiers=[
|
||||||
|
"Development Status :: 1 - Development",
|
||||||
|
"License :: OSI Approved :: MIT License",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Natural Language :: English",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Topic :: Internet",
|
||||||
|
"Topic :: Software Development :: Libraries",
|
||||||
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
"Topic :: Utilities",
|
||||||
|
"Typing :: Typed",
|
||||||
|
]
|
||||||
|
)
|
Loading…
Reference in a new issue