-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (58 loc) · 2.31 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding:utf-8 -*-
##############################################################
# Created Date: Wednesday, July 12th 2023
# Contact Info: luoxiangyong01@gmail.com
# Author/Copyright: Mr. Xiangyong Luo
##############################################################
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 f.readlines()]
except Exception:
modules_needed = []
setuptools.setup(
name="pyufunc", # Replace with your own username
version="0.3.7",
author="Xiangyong Luo",
author_email="luoxiangyong01@gmail.com",
keywords=["utility functions", "utility", "functions", "common functions", "common utility functions"],
description="PyUFunc consolidates frequently used utility functions into one cohesive package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/xyluo25/pyufunc",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries'
],
python_requires='>=3.10',
install_requires=modules_needed,
packages=setuptools.find_packages(),
include_package_data=True,
# package_dir={'': 'pyufunc'},
package_data={'': ["*.json", "*.txt"]},
project_urls={
'Homepage': 'https://github.com/xyluo25/pyufunc',
# 'Documentation': 'https://github.com/xyluo25/pyufunc',
'Bug Tracker': 'https://github.com/xyluo25/pyufunc/issues',
# 'Source Code': '',
# 'Download': '',
# 'Publication': '',
# 'Citation': '',
'License': 'https://github.com/xyluo25/pyufunc/blob/main/LICENSE',
# 'Acknowledgement': '',
# 'FAQs': '',
'Contact': 'https://github.com/xyluo25',
},
platforms=["all"],
license='MIT License',
)