-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
42 lines (35 loc) · 1.12 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
"""
@author: yudeqiang
@file: setup.py
@time: 2022/04/15
@describe:
"""
# -*- coding: utf-8 -*-
from os.path import dirname, join
from sys import version_info
import setuptools
if version_info < (3, 6, 0):
raise SystemExit("Sorry! feapder requires python 3.6.0 or later.")
with open(join(dirname(__file__), "plana/core/VERSION"), "rb") as f:
version = f.read().decode("ascii").strip()
with open("README.md", "r", encoding='utf8') as fh:
long_description = fh.read()
packages = setuptools.find_packages()
with open('requirements.txt', 'r') as f:
requires = f.read().split('\n')
setuptools.setup(
name="plana",
version=version,
author="yudeqiang",
license="MIT",
author_email="[email protected]",
python_requires=">=3.6",
description="plana是一个定时任务框架,包含任务运行信息,异常提醒等功能",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires=requires,
url="https://github.com/yudeqang/plana",
packages=packages,
include_package_data=True,
classifiers=["Programming Language :: Python :: 3"],
)