Skip to content

Commit

Permalink
NCSSLAPI-7 Drop ipgetter dep
Browse files Browse the repository at this point in the history
  • Loading branch information
antonku committed Dec 25, 2018
1 parent 4daf722 commit 8ac2b8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ncssl_api_client/configure.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import os
import yaml
import ipgetter
from shutil import copyfile
from builtins import input
from getpass import getpass
from pprint import pprint
from ncssl_api_client.services import ipgetter

BASE_DIR = 'ncsslapi'
CERTS_DIR = 'certs'
Expand Down
5 changes: 5 additions & 0 deletions ncssl_api_client/services/ipgetter/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from requests import get


def myip():
return get('http://checkip.amazonaws.com/').text.strip()
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages

setup(name='ncssl-api-client',
version='0.3',
version='0.4',
description='Command line interface for Namecheap SSL API',
url='https://github.com/antonku/ncssl_api_client',
author='Anton Kudinov',
Expand All @@ -16,7 +16,6 @@
'xmltodict',
'pyyaml',
'coloredlogs',
'ipgetter',
],
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down

0 comments on commit 8ac2b8a

Please sign in to comment.