diff --git a/builddeb.sh b/builddeb.sh new file mode 100755 index 0000000..8176cce --- /dev/null +++ b/builddeb.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python3 setup.py --command-packages=stdeb.command bdist_deb diff --git a/notepostcli/notepost.py b/notepostcli/notepost.py index 275e205..1660dfc 100755 --- a/notepostcli/notepost.py +++ b/notepostcli/notepost.py @@ -4,6 +4,13 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. +import sys +import os +try: + sys.path.append(os.path.dirname(os.path.realpath(__file__))) +except: + pass + import tempfile import i18n import validators diff --git a/setup.py b/setup.py index 3f15143..a9a338a 100644 --- a/setup.py +++ b/setup.py @@ -7,15 +7,15 @@ setup( version="0.1", packages=find_packages(), install_requires=[ - "appdirs==1.4.3", - "certifi==2018.11.29", - "chardet==3.0.4", - "decorator==4.3.0", - "idna==2.8", + "appdirs>=1.4.3", + "certifi>=2018.1", + "chardet>=3.0", + "decorator>=4.1", + "idna>=2.6", "python-i18n==0.3.5", - "requests==2.21.0", + "requests>=2.18.0", "six>=1.11.0", - "urllib3==1.24.1", + "urllib3>=1.22", "validators==0.12.3" ], entry_points = {