Browse Source

It runs now

Skylar Ittner 1 month ago
parent
commit
4df09ed41a
3 changed files with 17 additions and 7 deletions
  1. 3
    0
      builddeb.sh
  2. 7
    0
      notepostcli/notepost.py
  3. 7
    7
      setup.py

+ 3
- 0
builddeb.sh View File

@@ -0,0 +1,3 @@
1
+#!/bin/bash
2
+
3
+python3 setup.py --command-packages=stdeb.command bdist_deb

+ 7
- 0
notepostcli/notepost.py View File

@@ -4,6 +4,13 @@
4 4
 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 5
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 6
 
7
+import sys
8
+import os
9
+try:
10
+    sys.path.append(os.path.dirname(os.path.realpath(__file__)))
11
+except:
12
+    pass
13
+
7 14
 import tempfile
8 15
 import i18n
9 16
 import validators

+ 7
- 7
setup.py View File

@@ -7,15 +7,15 @@ setup(
7 7
     version="0.1",
8 8
     packages=find_packages(),
9 9
     install_requires=[
10
-        "appdirs==1.4.3",
11
-        "certifi==2018.11.29",
12
-        "chardet==3.0.4",
13
-        "decorator==4.3.0",
14
-        "idna==2.8",
10
+        "appdirs>=1.4.3",
11
+        "certifi>=2018.1",
12
+        "chardet>=3.0",
13
+        "decorator>=4.1",
14
+        "idna>=2.6",
15 15
         "python-i18n==0.3.5",
16
-        "requests==2.21.0",
16
+        "requests>=2.18.0",
17 17
         "six>=1.11.0",
18
-        "urllib3==1.24.1",
18
+        "urllib3>=1.22",
19 19
         "validators==0.12.3"
20 20
     ],
21 21
     entry_points = {

Loading…
Cancel
Save