-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 915 Bytes
/
setup.py
File metadata and controls
36 lines (32 loc) · 915 Bytes
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
from setuptools import setup, find_packages
import json
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("config.json","r") as jfh:
data = json.load(jfh)
name = data["name"]
version = data["version"]
desc = data["description"]
auth = data["author"]
auth_mail = data["author_email"]
kw = data["keywords"]
dependency = data["install_requires"]
urls = data["project_urls"]
classifiers = data["classifiers"]
setup(
name= name,
version= version,
description= desc,
author= auth,
author_email= auth_mail,
license="MIT",
python_requires=">=3.6",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
project_urls= urls,
keywords= kw,
install_requires= dependency,
entry_points={"console_scripts": ["ezydb = EzyDB:cmd_cli"]},
classifiers= classifiers
)