-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (32 loc) · 1 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
# importing necessary libraries:
from setuptools import setup, find_packages
from pathlib import Path
import warnings
warnings.filterwarnings('ignore')
# setup:
# basic info:
PKG_NAME = 'dbsconnector'
__version__ = '1.4'
AUTHOR_USER_NAME = 'yuvaneshkm'
AUTHOR_EMAIL = 'yuvaneshkm05@gmail.com'
REPO_NAME = 'dbsconnector'
def read_file(filepath):
filepath = Path(filepath)
with open(filepath, 'r', encoding='utf-8') as f:
return f.read()
# setup:
setup(
name = PKG_NAME,
version = __version__,
author = AUTHOR_USER_NAME,
author_email = AUTHOR_EMAIL,
description = 'Python package for connecting and importing data from different DataBases',
long_description = read_file('README.md'),
long_description_content_type = 'text/markdown',
url = f'https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}',
project_urls = {
'Bug Trackers':f'https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}/issues'
},
package_dir = {"":'src'},
packages = find_packages(where='src')
)