Skip to content

Commit

Permalink
renew project
Browse files Browse the repository at this point in the history
  • Loading branch information
linjing-lab committed Oct 31, 2022
1 parent 121a481 commit bf94310
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
__pycache__/
*.py[cod]
*$py.class
upload.pypirc

# C extensions
*.so
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ As you can see, I create a core function to drive keyword sorting just by openin
!pip install sortingx # in jupyter
pip install sortingx # in cmd
```
sortingx can do whatever `list.sort()` do, and support more methods.

## LICENSE

Expand Down
1 change: 1 addition & 0 deletions README_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
|edition|download|trait|check|
|--|--|--|--|
|1.0.0|`pip install sortingx==1.0.0`|Write in Python with Typing||
|1.1.0|`pip install sortingx==1.1.0`|Write in Python with SupportRich||
|1.1.1|`pip install sortingx==1.1.1`|Rely on Cython||
|2.0.0|`pip install sortingx==2.0.0`|Restuct with C++||
|2.2.2|`pip install sortingx==2.2.2`|Rust with PyO3||
Expand Down
5 changes: 3 additions & 2 deletions package/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
import sys

from .sorting import bubble, insert, shell, heap, quick, merge
from ._version import __version__
from .typing import *

assert sys.version_info >= (3, 7)
__version__ = '1.0.0'

assert sys.version_info >= (3, 7, 0)
15 changes: 0 additions & 15 deletions package/_version.py

This file was deleted.

4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import os
import sys

from setuptools import setup

if sys.version_info < (3, 7, 0):
raise OSError(f'sortingx requires Python >=3.7, but yours is {sys.version}')

try:
pkg_name = 'sortingx'
libinfo_py = os.path.join('package', '__init__.py')
Expand Down

0 comments on commit bf94310

Please sign in to comment.