-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite entire codebase. Professionalism and that. Innit
- Loading branch information
1 parent
a91ada1
commit 691021c
Showing
11 changed files
with
242 additions
and
466 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,31 @@ | ||
from setuptools import setup, find_packages | ||
import pathlib | ||
# -*- coding: utf-8 -*- | ||
"""setup.py: setuptools control.""" | ||
|
||
here = pathlib.Path(__file__).parent.resolve() | ||
import re | ||
from setuptools import setup | ||
|
||
long_description = (here / "README.md").read_text(encoding="utf-8") | ||
version = '2.0' | ||
with open("README.md", "r") as f: | ||
long_descr = f.read() | ||
|
||
setup( | ||
name="snapmap-archiver", | ||
version="1.3.1", | ||
description="Download all Snapmaps content from a specific location.", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/king-millez/snapmap-archiver", | ||
author="king-millez", | ||
author_email="[email protected]", | ||
classifiers=[ | ||
"Programming Language :: Python :: 3", | ||
"Operating System :: OS Independent", | ||
], | ||
packages=find_packages(), | ||
include_package_data=True, | ||
python_requires=">=3.6", | ||
name = "snapmap-archiver", | ||
packages = ["snapmap_archiver"], | ||
entry_points = { | ||
"console_scripts": ['snapmap-archiver = snapmap_archiver:main'] | ||
}, | ||
version = version, | ||
description = "Download all Snapmaps content from a specific location.", | ||
long_description = long_descr, | ||
author = "Miles Greenwark", | ||
author_email = "[email protected]", | ||
url = "https://github.com/king-millez/snapmap-archiver", | ||
python_requires=">=3.10", | ||
install_requires=[ | ||
"certifi", | ||
"chardet", | ||
"idna", | ||
"requests", | ||
"urllib3", | ||
], | ||
entry_points={"console_scripts": ["snapmap-archiver=snapmap_archiver:main"]}, | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import snapmap_archiver | ||
|
||
|
||
if __name__ == '__main__': | ||
snapmap_archiver.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.