Skip to content

Commit

Permalink
prep for release on PyPI.
Browse files Browse the repository at this point in the history
  • Loading branch information
wizpig64 committed Oct 25, 2018
1 parent a29ff50 commit ec3361b
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 18 deletions.
1 change: 0 additions & 1 deletion AUTHORS

This file was deleted.

5 changes: 5 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
=======
Authors
=======

- Phillip Marshall <[email protected]>
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
=======
Changes
=======


1.0 (2018-10-24)
----------------

- Initial PyPI release. 🎉
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include AUTHORS.rst
include CHANGES.rst
include LICENSE
include MANIFEST.in
include README.rst
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ Requires Python 3.6. Uses aiohttp_, requests_, and pycryptodome_ libraries.
Installation
------------

We're not yet on PyPI, but you can use pip to install directly from github::
Use ``pip`` to install directly from PyPI_::

pip install git+https://github.com/agrimgt/python-fieldclimate
pip install python-fieldclimate

.. _PyPI: https://pypi.org/project/python-fieldclimate/


Authentication
Expand Down
2 changes: 1 addition & 1 deletion fieldclimate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""A client for the iMetos FieldClimate API."""

__all__ = ["FieldClimateClient"]
__version__ = "0.1dev"
__version__ = "1.0"
__author__ = "Agrimanagement, Inc."

from fieldclimate.client import HmacClient
Expand Down
38 changes: 24 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
import os

from setuptools import setup


def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
import fieldclimate


setup(
name="python-fieldclimate",
version="0.1dev",
version=fieldclimate.__version__,
description="A client for the iMetos FieldClimate API.",
url="https://github.com/agrimgt/python-fieldclimate",
long_description=read("README.rst"),
author="Agrimanagent, Inc.",
long_description="\n\n".join(
(
open("README.rst").read(),
open("CHANGES.rst").read(),
open("AUTHORS.rst").read(),
)
),
author=fieldclimate.__author__,
author_email="[email protected]",
license="MIT",
project_urls={
"API Documentation": "https://api.fieldclimate.com/v1/docs/",
"Source": "https://github.com/agrimgt/python-fieldclimate",
},
project_urls={"API Documentation": "https://api.fieldclimate.com/v1/docs/"},
packages=["fieldclimate"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
],
install_requires=["aiohttp", "pycryptodome", "requests"],
python_requires=">=3.6",
package_data={"": ["*.txt", "*.rst"]},
include_package_data=True,
)

0 comments on commit ec3361b

Please sign in to comment.