Skip to content

Commit 933a3d1

Browse files
committed
Update links
1 parent 6063910 commit 933a3d1

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ install:
44

55
test:
66
poetry run pytest tests.py --verbose
7+
8+
release:
9+
rm -rf build dist
10+
python setup.py sdist bdist_wheel
11+
twine upload --repository=fractional-indexing dist/*

fractional_indexing.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
"""
22
Provides functions for generating ordering strings
33
4-
It’s a Python port of <https://github.com/rocicorp/fractional-indexing>.
4+
<https://observablehq.com/@dgreensp/implementing-fractional-indexing>
5+
6+
<https://github.com/httpie/fractional-indexing-python>.
57
68
"""
79
from math import floor
810
from typing import Optional, List
911
import decimal
1012

1113

12-
__version__ = '0.1.0'
14+
__version__ = '0.1.1'
1315
__licence__ = 'CC0 1.0 Universal'
1416

1517

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,16 @@
1414
long_description_content_type='text/markdown',
1515
version=__version__,
1616
license=__licence__,
17-
url='https://github.com/httpie/fractional-indexing',
17+
url='https://github.com/httpie/fractional-indexing-python',
1818
py_modules=[
1919
'fractional_indexing',
2020
],
2121
install_requires=[
2222
'setuptools',
2323
],
24+
project_urls={
25+
'GitHub': 'https://github.com/httpie/fractional-indexing-python',
26+
'Twitter': 'https://twitter.com/httpie',
27+
'Discord': 'https://httpie.io/discord',
28+
},
2429
)

0 commit comments

Comments
 (0)