Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ version: 2
updates:
- package-ecosystem: pip
directory: "/"
exclude-paths:
- "requirements-dev.txt"
- "setup.py"
schedule:
interval: weekly
time: "01:30"
open-pull-requests-limit: 10
open-pull-requests-limit: 5
target-branch: dev
assignees:
- "sepandhaghighi"
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ jobs:
ipspot --timeout=15
- name: Install dev-requirements
run: |
python otherfiles/requirements-splitter.py
pip install --upgrade --upgrade-strategy=only-if-needed -r test-requirements.txt
pip install --upgrade --upgrade-strategy=only-if-needed -r requirements-dev.txt
- name: Test with pytest (IPv4 functions)
run: |
python -m pytest . --cov=ipspot --cov-report=term --ignore-glob="tests/test_ipv6_*.py" --ignore=tests/test_ipv4_api.py
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- CLI messages updated
- CLI modified
- Dependencies structure modified
## [0.8] - 2026-02-05
### Added
- Support [wtfismyip.com](https://wtfismyip.com/json) IPv6 API
Expand Down
2 changes: 0 additions & 2 deletions dev-requirements.txt → requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
requests==2.32.5
art==6.5
setuptools>=40.8.0
vulture>=1.0
bandit>=1.5.1
Expand Down
2 changes: 2 additions & 0 deletions requirements-latest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests==2.32.5
art==6.5
3 changes: 0 additions & 3 deletions requirements.txt

This file was deleted.

20 changes: 6 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,6 @@
# -*- coding: utf-8 -*-
"""Setup module."""
from typing import List
try:
from setuptools import setup
except ImportError:
from distutils.core import setup


def get_requires() -> List[str]:
"""Read requirements.txt."""
requirements = open("requirements.txt", "r").read()
return list(filter(lambda x: x != "", requirements.split()))

from setuptools import setup

def read_description() -> str:
"""Read README.md and CHANGELOG.md."""
Expand Down Expand Up @@ -41,11 +30,14 @@ def read_description() -> str:
author_email='ipspot@openscilab.com',
url='https://github.com/openscilab/ipspot',
download_url='https://github.com/openscilab/ipspot/tarball/v0.8',
keywords="ip ipv4 ipv6 geo geolocation network location ipspot cli",
keywords='ip ipv4 ipv6 geo geolocation network location ipspot cli',
project_urls={
'Source': 'https://github.com/openscilab/ipspot'
},
install_requires=get_requires(),
install_requires=[
'art>=5.3',
'requests>=2.20.0'
],
python_requires='>=3.7',
classifiers=[
'Development Status :: 4 - Beta',
Expand Down
Loading