Skip to content

Commit

Permalink
Use README.md for long description (#55)
Browse files Browse the repository at this point in the history
* Use README.md for long description
* Dont use encoding in open for py2 support
* Add short description and bump version
* Update description string
  • Loading branch information
jerematt committed Apr 21, 2022
1 parent dcae2f1 commit 0284a27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
16 changes: 2 additions & 14 deletions Makefile
Expand Up @@ -50,17 +50,5 @@ test: install
pytest

.PHONY: upload
upload: build check-env
twine upload --repository-url ${REPO} --username ${USER} --password "${PASSWORD}" dist/*

.PHONY: check-env
check-env:
ifndef REPO
$(error $REPO must be specified)
endif
ifndef USER
$(error USER must be specified)
endif
ifndef PASSWORD
$(error PASSWORD must be specified)
endif
upload: build
twine upload wheelhouse/* $(sdist)
8 changes: 7 additions & 1 deletion setup.py
Expand Up @@ -2,13 +2,19 @@

from setuptools import setup, Extension

with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name="pypredict",
version="1.6.2",
version="1.6.3",
author="Jesse Trutna",
author_email="jesse@spire.com",
maintainer="Spire Global Inc",
maintainer_email="opensource@spire.com",
description="Interface to the Predict satellite tracking and orbital prediction library",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nsat/pypredict",
py_modules=["predict"],
ext_modules=[Extension("cpredict", ["predict.c"])],
Expand Down

0 comments on commit 0284a27

Please sign in to comment.