-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathsetup.py
53 lines (47 loc) · 1.71 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
43
44
45
46
47
48
49
50
51
52
53
import setuptools
from typing import List
import distutils.text_file
from pathlib import Path
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
def _parse_requirements(filename: str) -> List[str]:
"""Return requirements from requirements file."""
# Ref: https://stackoverflow.com/a/42033122/
return distutils.text_file.TextFile(
filename=str(Path(__file__).with_name(filename))
).readlines()
setuptools.setup(
name="clickupython",
author="Zach Johnson & Robert Mullis",
author_email="[email protected]",
description="clickupython: A Python client for the ClickUp API",
keywords="clickup, clickup api, python, clickupython",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Imzachjohnson/clickupython",
project_urls={
"Documentation": "https://clickupython.readthedocs.io/en/latest/",
"Bug Reports": "https://github.com/Imzachjohnson/clickupython/issues",
"Source Code": "https://github.com/Imzachjohnson/clickupython",
# 'Funding': '',
# 'Say Thanks!': '',
},
packages=setuptools.find_packages(),
python_requires=">=3.6",
install_requires=[
"pydantic==1.8.2",
"typing-extensions==3.10.0.2",
"word2number==1.1",
"timefhuman==0.0.5",
"pendulum==2.1.2",
"typing-extensions==3.10.0.2",
"setuptools",
],
# extras_require='requirements.txt',
# entry_points={
# 'console_scripts': [ # This can provide executable scripts
# 'run=examplepy:main',
# You can execute `run` in bash to run `main()` in src/examplepy/__init__.py
# ],
# },
)