-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 902 Bytes
/
setup.py
File metadata and controls
30 lines (27 loc) · 902 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
import re
from setuptools import find_packages, setup
# Read version without importing the package
with open("funcbox/__init__.py") as f:
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
f.read(),
re.MULTILINE,
)
version = version_match.group(1) if version_match else "0.0.0"
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="plutoniumx502@gmail.com",
url="https://github.com/adityaprasad502/funcbox",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
)