-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (38 loc) · 1.25 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""":Mod: setup.py
:Synopsis:
:Author:
servilla
:Created:
6/15/18
"""
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
with open(path.join(here, "LICENSE"), encoding="utf-8") as f:
full_license = f.read()
with open(path.join(here, "src/bugle/VERSION.txt"), encoding="utf-8") as f:
version = f.read()
setup(
name="bugle",
version=version,
description="Bugle: a light-weight web site crawler adn search indexer",
long_description=long_description,
long_description_content_type="text/markdown",
author="Environmental Data Initiative",
url="https://github.com/PASTAplus/bugle",
license=full_license,
packages=find_packages(where="src", include=["bugle", "bugle.crawl", "bugle.index"]),
package_dir={"": "src"},
include_package_data=True,
python_requires=" >= 3.11",
install_requires=["click", "daiquiri", "beautifulsoup4", "lxml", "requests", "snowballstemmer"],
classifiers=["License :: OSI Approved :: Apache Software License",],
)
def main():
return 0
if __name__ == "__main__":
main()