Skip to content

Commit

Permalink
Changes needed for PyPi update. 1.0.1 as I messed up on the 1.0 push.
Browse files Browse the repository at this point in the history
  • Loading branch information
Danc2050 committed Jan 20, 2024
1 parent e30a5c9 commit eea2046
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ abstract: >-
attachments, from the command line. Optionally use your
own e-mail address and an external SMTP server.
license: GPL-3.0
version: '1.0'
version: '1.0.1'
8 changes: 4 additions & 4 deletions python-port/sendpy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
from email.utils import parseaddr
from shutil import which

import configuration
import usage
from send import sendEmail
from . import configuration
from . import usage
from .send import sendEmail

"""Copyright © Daniel Connelly and Teal Dulcet

Check failure on line 22 in python-port/sendpy/__main__.py

View workflow job for this annotation

GitHub Actions / Ruff

Ruff (I001)

python-port/sendpy/__main__.py:3:1: I001 Import block is un-sorted or un-formatted

Check failure on line 22 in python-port/sendpy/__main__.py

View workflow job for this annotation

GitHub Actions / Ruff

Ruff (I001)

python-port/sendpy/__main__.py:3:1: I001 Import block is un-sorted or un-formatted
Expand All @@ -35,7 +35,7 @@
parser = argparse.ArgumentParser(
description="One or more To, CC or BCC e-mail addresses are required. Send text messages by using the mobile providers e-mail to SMS or MMS gateway (see the --gateways option). See examples with the --examples option.")
parser.add_argument("-v", "--version", action="version",
version="%(prog)s 1.0")
version="%(prog)s 1.0.1")
parser.add_argument("-s", "--subject", dest="subject",
help="Subject. Escape sequences are expanded. Supports Unicode characters.")
parser.add_argument("-m", "--message", dest="message", default="",
Expand Down
11 changes: 8 additions & 3 deletions python-port/setup.py
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
import setuptools

from setuptools import setup, find_packages

def readme():
with open("README.rst") as fh:
return fh.read()

setuptools.setup(name="sendpy",
version="1.0",
version="1.0.1",
description="Email and text notification program",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://github.com/tdulcet/Send-Msg-CLI",
author="Daniel Connelly and Teal Dulcet",
author_email="[email protected]",
license="GPL",
packages=["sendpy"],
entry_points={
'console_scripts': [
'sendpy=sendpy.__main__:main'
]
},
packages=find_packages(),
scripts=["bin/sendpy"],
classifiers=[
"Programming Language :: Python :: 3.6",
Expand Down
2 changes: 1 addition & 1 deletion sendmsg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ while getopts "a:b:c:df:hk:lm:p:rs:t:u:vz:C:P:S:T:UV" c; do
USERNAME=$OPTARG
;;
v )
echo -e "Send Msg CLI 1.0\n"
echo -e "Send Msg CLI 1.0.1\n"
exit 0
;;
z )
Expand Down

0 comments on commit eea2046

Please sign in to comment.