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"
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,9 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install .
- name: Test requirements installation
- name: Dev requirements installation
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: Conflict check
run: |
python otherfiles/conflict_check.py
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Changed
- `README.md` updated
- Test system modified
- Dependencies structure modified
## [1.5] - 2026-04-10
### Added
- Garay numeral system
Expand Down
File renamed without changes.
Empty file removed requirements.txt
Empty file.
14 changes: 3 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,6 @@
except ImportError:
from distutils.core import setup


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


def read_description() -> str:
"""Read README.md and CHANGELOG.md."""
try:
Expand All @@ -32,8 +25,7 @@ def read_description() -> str:

setup(
name='xnum',
packages=[
'xnum', ],
packages=['xnum'],
version='1.5',
description='XNum: Universal Numeral System Converter',
long_description=read_description(),
Expand All @@ -42,11 +34,11 @@ def read_description() -> str:
author_email='xnum@openscilab.com',
url='https://github.com/openscilab/xnum',
download_url='https://github.com/openscilab/xnum/tarball/v1.5',
keywords="convert numeral number numeral-system digits",
keywords='convert numeral number numeral-system digits',
project_urls={
'Source': 'https://github.com/openscilab/xnum',
},
install_requires=get_requires(),
install_requires=[],
python_requires='>=3.7',
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down
Loading