forked from ThatXliner/stacksearch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (52 loc) · 2.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
46
47
48
49
50
51
52
53
54
55
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""To setup."""
from pathlib import Path
from setuptools import setup, find_packages
from stacksearch import __version__
# The directory containing this file
HERE = Path(Path(__file__).parent)
# The text of the README file
README = Path(HERE / "README.md").read_text()
REQUIREMENTS = Path(HERE / "requirements.txt").read_text().split("\n")
setup(
name="stacksearch", # Replace with your own username
version=__version__,
author="Bryan Hu",
author_email="bryan.hu.cn@gmail.com",
description="StackSearch is a python module that "
"provides a way to search StackOverflow.",
long_description=README,
long_description_content_type="text/markdown",
# url="https://github.com/ThatXliner/stacksearch",
project_urls={
"Source Code": "https://github.com/ThatXliner/stacksearch",
"Documentation": "https://stacksearch.readthedocs.io/en/latest/index.html",
"Tracker": "https://github.com/ThatXliner/stacksearch/issues",
},
packages=find_packages(exclude=["tests"], include=["stacksearch"]),
scripts=["scripts/stacksearch"],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Environment :: Console",
"Natural Language :: English",
"Topic :: Utilities",
],
python_requires=">=3.8",
include_package_data=True,
install_requires=[line for line in REQUIREMENTS if not line.startswith("#")],
keywords="api stackexchange stackoverflow python webscrape webscrap",
# entry_points={"console_scripts": ["stacksearch=stacksearch.__main__:main"]},
)