Skip to content

Commit

Permalink
Add precise python requirements and makefile to upload to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
florianschanda committed Mar 13, 2019
1 parent 4fbd198 commit f7c1a8e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions Makefile
@@ -0,0 +1,9 @@
pypi_package:
git clean -xdf
python3 setup.py sdist bdist_wheel

pypi_upload_test: pypi_package
python3 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

pypi_upload: pypi_package
python3 -m twine upload dist/*
3 changes: 2 additions & 1 deletion setup.py
Expand Up @@ -7,14 +7,15 @@

setuptools.setup(
name="pympf",
version="1.0.1",
version="1.0.2",
author="Florian Schanda",
author_email="florian@schanda.org.uk",
description="An arbitrary precision IEEE-754 implementation in Python",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/florianschanda/PyMPF",
packages=setuptools.find_packages(),
python_requires=">=3.5, <4",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down

0 comments on commit f7c1a8e

Please sign in to comment.