Skip to content

Commit

Permalink
update to 0.4.1 so pypi has a readme...
Browse files Browse the repository at this point in the history
  • Loading branch information
jjfiv committed Oct 11, 2019
1 parent 1d1b682 commit d4d504a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pyfastrank/package.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/bash
set -eu

rm -rf fastrank.egg-info
rm -rf dist

pip install -r requirements.txt
pip install --upgrade setuptools wheel twine
python setup.py sdist bdist_wheel
9 changes: 8 additions & 1 deletion pyfastrank/setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
from setuptools import setup, find_packages
import os

pyfastrank_version = "0.4.0"
pyfastrank_version = "0.4.1"
cfastrank_version = "0.4.0"

dependencies = ["cfastrank=={0}".format(cfastrank_version)]
dependencies.extend(open("requirements.txt").readlines())

this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, '..', 'README.md'), encoding='utf-8') as f:
long_description = f.read()

setup(
name="fastrank",
version=pyfastrank_version,
Expand All @@ -16,6 +21,8 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
long_description=long_description,
long_description_content_type='text/markdown',
description="A set of learning-to-rank algorithms.",
url="https://github.com/jjfiv/fastrank",
packages=find_packages(),
Expand Down

0 comments on commit d4d504a

Please sign in to comment.