-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (29 loc) · 956 Bytes
/
Copy pathsetup.py
File metadata and controls
36 lines (29 loc) · 956 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
32
33
34
35
36
from json import dump
import os
import re
from shutil import rmtree
from setuptools import find_packages, setup
def get_long_description() -> str:
"""
Return the README.
"""
return open("README.md", "r", encoding="utf8").read()
def get_install_requires():
return open("requirements.txt").read().splitlines()
setup(
name="canvas-task",
version="v0.0.1",
url="https://github.com/Gorgeous-Patrick/canvas_task.git",
license="MIT",
description="A handy tool to download the assignments from Canvas",
long_description=get_long_description(),
long_description_content_type="text/markdown",
author="PatrickLi",
author_email="patrickli@sjtu.edu.cn",
maintainer="PatrickLi",
maintainer_email="patrickli@sjtu.edu.cn",
packages=find_packages(),
python_requires=">=3.6",
entry_points={"console_scripts": ["canvas-task=canvas_task:main"]},
install_requires=get_install_requires(),
)