forked from funcBox-i3/funcBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (29 loc) · 976 Bytes
/
setup.py
File metadata and controls
31 lines (29 loc) · 976 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
from setuptools import setup, find_packages
import re
# Read version without importing the package
with open("funcbox/__init__.py", "r") as f:
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", f.read(), re.M)
if version_match:
version = version_match.group(1)
else:
raise RuntimeError("Unable to find version string")
setup(
name="funcbox",
version=version,
packages=find_packages(),
description="A functional utility box with various functions",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Aditya Prasad S",
author_email="aditya@devh.in",
url="https://github.com/adityaprasad502/funcbox",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=[
"fuzzywuzzy",
],
)