-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (38 loc) · 1.51 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import importlib
from setuptools import find_packages, setup
# Load version.py without importing __init__.py and it's dependencies
# https://docs.python.org/3/library/importlib.html#importing-a-source-file-directly
spec = importlib.util.spec_from_file_location("version", "mayar/version.py")
version_module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version_module)
setup(
name="mayar",
packages=find_packages(),
version=version_module.VERSION,
license="MIT",
description="A library to help automate the creation of universal python libraries",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="mayar.id",
author_email="[email protected]",
url="https://github.com/mayarid/mayar-py",
keywords=["payment", "indoensia", "ewallet", "universal", "sync", "asyncio", "asynctosync", "synctoasync"],
install_requires=[
"universalasync",
"httpx"
],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"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",
"Programming Language :: Python :: 3.11",
],
python_requires='>=3.6',
)