diff --git a/.editorconfig b/.editorconfig
deleted file mode 100644
index 409faaa..0000000
--- a/.editorconfig
+++ /dev/null
@@ -1,25 +0,0 @@
-# EditorConfig helps developers define and maintain consistent
-# coding styles between different editors and IDEs
-# editorconfig.org
-
-root = true
-
-# We recommend you to keep these unchanged
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-
-[{*.js,.travis.yml}]
-# Change these settings to your own preference
-indent_style = space
-indent_size = 2
-
-[*.py]
-# Change these settings to your own preference
-indent_style = space
-indent_size = 4
-
-[*.md]
-trim_trailing_whitespace = false
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index db4561e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,54 +0,0 @@
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-
-# C extensions
-*.so
-
-# Distribution / packaging
-.Python
-env/
-build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-*.egg-info/
-.installed.cfg
-*.egg
-
-# PyInstaller
-#  Usually these files are written by a python script from a template
-#  before PyInstaller builds the exe, so as to inject date/other infos into it.
-*.manifest
-*.spec
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.coverage
-.cache
-nosetests.xml
-coverage.xml
-
-# Translations
-*.mo
-*.pot
-
-# Django stuff:
-*.log
-
-# Sphinx documentation
-docs/_build/
-
-# PyBuilder
-target/
diff --git a/PKG-INFO b/PKG-INFO
new file mode 100644
index 0000000..56bfb6d
--- /dev/null
+++ b/PKG-INFO
@@ -0,0 +1,29 @@
+Metadata-Version: 2.1
+Name: modem-cmd
+Version: 1.0.1
+Summary: Send arbitrary AT commands to your modem
+Home-page: https://github.com/imZack/modem-cmd
+Author: YuLun Shih
+Author-email: shih@yulun.me
+License: MIT
+Download-URL: ('https://github.com/imZack/modem-cmd/archive/1.0.1.tar.gz',)
+Keywords: modem,at commands,serial
+Platform: UNKNOWN
+Classifier: Environment :: Console
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: Telecommunications Industry
+Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
+Classifier: Programming Language :: Python :: 3 :: Only
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Topic :: Communications :: Telephony
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Topic :: System :: Hardware
+Classifier: Topic :: Terminals :: Serial
+Classifier: Topic :: Utilities
+Classifier: Operating System :: OS Independent
+License-File: LICENSE
+
+UNKNOWN
+
diff --git a/debian/changelog b/debian/changelog
index 8a35c68..ad854b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+modem-cmd (1.0.2+git20170722.1.bde8725+ds-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+  * Drop patch 0001-Set-python3-env.patch, present upstream.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Fri, 22 Jul 2022 06:29:25 -0000
+
 modem-cmd (1.0.2-3) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --git a/debian/patches/0001-Set-python3-env.patch b/debian/patches/0001-Set-python3-env.patch
deleted file mode 100644
index 1b9b158..0000000
--- a/debian/patches/0001-Set-python3-env.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-From 51a7620316cb4b783417e724a8a7f7db46ebb122 Mon Sep 17 00:00:00 2001
-From: szlin <szlin@debian.org>
-Date: Fri, 21 Jul 2017 14:25:44 +0800
-Subject: Set python3 env
-
----
- bin/modem-cmd | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/bin/modem-cmd b/bin/modem-cmd
-index 03bfffe..eb46ba5 100755
---- a/bin/modem-cmd
-+++ b/bin/modem-cmd
-@@ -1,4 +1,5 @@
--#!/usr/bin/python
-+#!/usr/bin/env python3
-+
- from __future__ import print_function
- import sys
- from modemcmd import modemcmd, ModemcmdTimeoutException
diff --git a/debian/patches/series b/debian/patches/series
index 183ac79..e69de29 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +0,0 @@
-0001-Set-python3-env.patch
diff --git a/modem-cmd.1 b/modem-cmd.1
deleted file mode 100644
index 67396c6..0000000
--- a/modem-cmd.1
+++ /dev/null
@@ -1,17 +0,0 @@
-.TH MODEM-CMD 1 "May 4, 2017"
-.SH NAME
-modem-cmd \- send arbitrary AT commands to your modem
-.SH SYNOPSIS
-.B modem-cmd
-.RI "[ device ] [ command ]"
-.SH DESCRIPTION
-This manual page documents briefly the
-.B modem-cmd
-commands.
-.PP
-\fBmodem-cmd\fP can be used to send arbitrary AT commands to a modem device over a serial line. This means it can be used as a phone dialer.
-.SH USAGE
-.LP
-modem-cmd /dev/ttyUSB0 ATDT123456
-.SH AUTHOR
-modem-cmd was written by YuLun Shih <shih@yulun.me>.
diff --git a/modem_cmd.egg-info/PKG-INFO b/modem_cmd.egg-info/PKG-INFO
new file mode 100644
index 0000000..56bfb6d
--- /dev/null
+++ b/modem_cmd.egg-info/PKG-INFO
@@ -0,0 +1,29 @@
+Metadata-Version: 2.1
+Name: modem-cmd
+Version: 1.0.1
+Summary: Send arbitrary AT commands to your modem
+Home-page: https://github.com/imZack/modem-cmd
+Author: YuLun Shih
+Author-email: shih@yulun.me
+License: MIT
+Download-URL: ('https://github.com/imZack/modem-cmd/archive/1.0.1.tar.gz',)
+Keywords: modem,at commands,serial
+Platform: UNKNOWN
+Classifier: Environment :: Console
+Classifier: Intended Audience :: Developers
+Classifier: Intended Audience :: Telecommunications Industry
+Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
+Classifier: Programming Language :: Python :: 3 :: Only
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Topic :: Communications :: Telephony
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
+Classifier: Topic :: System :: Hardware
+Classifier: Topic :: Terminals :: Serial
+Classifier: Topic :: Utilities
+Classifier: Operating System :: OS Independent
+License-File: LICENSE
+
+UNKNOWN
+
diff --git a/modem_cmd.egg-info/SOURCES.txt b/modem_cmd.egg-info/SOURCES.txt
new file mode 100644
index 0000000..699ab41
--- /dev/null
+++ b/modem_cmd.egg-info/SOURCES.txt
@@ -0,0 +1,12 @@
+LICENSE
+MANIFEST.in
+README.rst
+requirements.txt
+setup.py
+bin/modem-cmd
+modem_cmd.egg-info/PKG-INFO
+modem_cmd.egg-info/SOURCES.txt
+modem_cmd.egg-info/dependency_links.txt
+modem_cmd.egg-info/requires.txt
+modem_cmd.egg-info/top_level.txt
+modemcmd/__init__.py
\ No newline at end of file
diff --git a/modem_cmd.egg-info/dependency_links.txt b/modem_cmd.egg-info/dependency_links.txt
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/modem_cmd.egg-info/dependency_links.txt
@@ -0,0 +1 @@
+
diff --git a/modem_cmd.egg-info/requires.txt b/modem_cmd.egg-info/requires.txt
new file mode 100644
index 0000000..4ffe6dd
--- /dev/null
+++ b/modem_cmd.egg-info/requires.txt
@@ -0,0 +1 @@
+pyserial>=2.6
diff --git a/modem_cmd.egg-info/top_level.txt b/modem_cmd.egg-info/top_level.txt
new file mode 100644
index 0000000..befe0db
--- /dev/null
+++ b/modem_cmd.egg-info/top_level.txt
@@ -0,0 +1 @@
+modemcmd
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..8bfd5a1
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,4 @@
+[egg_info]
+tag_build = 
+tag_date = 0
+
diff --git a/setup.py b/setup.py
index 23043e1..d4e6c68 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
 
 """ modem-cmd installation script """
 
-VERSION = '1.0.2'
+VERSION = '1.0.1'
 
 try:
     from setuptools import setup