-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (30 loc) · 1.14 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
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
try:
# if have requirements.txt file inside the folder
with open("requirements.txt", "r", encoding="utf-8") as f:
modules_needed = [i.strip() for i in fh.readlines()]
except Exception:
modules_needed = []
setuptools.setup(
name="exceltosqlserver", # Replace with your own username
version="0.2.5",
author="Xiangyong Luo",
author_email="[email protected]",
description="This package help convert your excel files (xlsx,xls,csv) to SQL Server Database.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Xiangyongluo/exceltosqlserver",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.10',
install_requires=modules_needed,
packages=setuptools.find_packages(),
include_package_data=True,
package_data={'': ['*.txt', '*.xls', '*.xlsx', '*.csv'],
"test_data": ['*.txt']}
)