From 50fc5be7e4b6eb060fa0e3e4d62d10f3beefd871 Mon Sep 17 00:00:00 2001 From: donno2048 Date: Thu, 10 Nov 2022 00:00:32 +0200 Subject: [PATCH] why would i use `six.moves`? --- .gitignore | 2 ++ LICENSE | 2 +- README.md | 1 + backup/c8feadb6953230bfc935b9b025c99d61 | 1 + gitback/__init__.py | 2 +- setup.py | 3 +-- 6 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 .gitignore create mode 160000 backup/c8feadb6953230bfc935b9b025c99d61 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..76309ac --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.egg-info +build \ No newline at end of file diff --git a/LICENSE b/LICENSE index caccca7..51daae3 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2020 Elisha Hollander +Copyright (c) 2020-2022 Elisha Hollander Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index b32410c..956c7e2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # gitback + Makes a backup of all your repositories and gists from GitHub ## Install diff --git a/backup/c8feadb6953230bfc935b9b025c99d61 b/backup/c8feadb6953230bfc935b9b025c99d61 new file mode 160000 index 0000000..5c76ff8 --- /dev/null +++ b/backup/c8feadb6953230bfc935b9b025c99d61 @@ -0,0 +1 @@ +Subproject commit 5c76ff892a96639e8d70636b9c665149ad00c2b3 diff --git a/gitback/__init__.py b/gitback/__init__.py index 60ddc55..fc3fcfc 100644 --- a/gitback/__init__.py +++ b/gitback/__init__.py @@ -2,7 +2,7 @@ from os.path import exists from zipfile import ZipFile from argparse import ArgumentParser -from six.moves.urllib.request import urlopen +from urllib.request import urlopen from json import loads def backup()->None: parser = ArgumentParser(description='Makes a backup of all your repositories and gists from GitHub') diff --git a/setup.py b/setup.py index a42e69e..897c007 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup,find_packages setup( name='gitback', - version='1.1.1', + version='1.1.2', description='Makes a backup of all your repositories and gists from GitHub', long_description=open('README.md').read(), long_description_content_type="text/markdown", @@ -10,7 +10,6 @@ license='MIT', author='Elisha Hollander', classifiers=['Programming Language :: Python :: 3'], - install_requires=['six>=1.14.0'], entry_points={ 'console_scripts': [ 'gitback=gitback.__init__:backup' ] }, python_requires='>3.8' )