-
Notifications
You must be signed in to change notification settings - Fork 255
/
setup.py
45 lines (41 loc) · 1.18 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
import sys
import setuptools
with open("twarc/version.py") as f:
exec(f.read())
with open("docs/README.md") as f:
long_description = f.read()
with open("requirements.txt") as f:
dependencies = f.read().split()
if __name__ == "__main__":
setuptools.setup(
name="twarc",
version=version,
url="https://github.com/docnow/twarc",
author="Ed Summers",
packages=["twarc"],
description="Archive tweets from the command line",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
],
python_requires=">=3.6",
install_requires=dependencies,
setup_requires=["pytest-runner"],
tests_require=[
"pytest",
"black",
"pytest-black",
"python-dotenv",
"pytz",
"tomli",
],
entry_points={
"console_scripts": [
"twarc = twarc.command:main",
"twarc2 = twarc.command2:twarc2",
]
},
)