-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (36 loc) · 1.28 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
import os
import sys
import warnings
import setuptools
import timeframe
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
PACKAGES = setuptools.find_packages(include=("timeframe",))
PACKAGE_VERSION = os.getenv(
"PACKAGE_VERSION", getattr(timeframe, "__version__", "0.0.0")
)
setuptools.setup(
name=timeframe.__name__,
version=PACKAGE_VERSION,
author=timeframe.__author__,
author_email=timeframe.__author_email__,
description="Calculation of time frames using the built-in datetime module",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/meysam81/timeframe",
packages=PACKAGES,
classifiers=[
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
],
python_requires=">=3.8, <4",
)