Skip to content

Commit

Permalink
package 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
walexnelson committed Oct 24, 2021
1 parent 988c5b4 commit a678c71
Show file tree
Hide file tree
Showing 7 changed files with 44 additions and 40 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,16 @@

# General information about the project.
project = "pyfatsecret"
copyright = "2014"
copyright = "2021"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = "0.2"
version = "0.4"
# The full version, including alpha/beta/rc tags.
release = "0.2.1"
release = "0.4.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
8 changes: 4 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
# This is based on the deployment guides found at
# https://packaging.python.org/tutorials/packaging-projects/

echo "setting up build tools"
echo "> setting up build tools"
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine

echo "creating new build"
echo "> creating new build"
python3 -m build

echo "uploading build assets"
python3 -m twine upload --repository fatsecret dist/*
echo "> uploading build assets"
python3 -m twine upload --repository pypi dist/*
31 changes: 31 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[metadata]
name = fatsecret
version = 0.4.0
author = Alex Nelson
author_email = [email protected]
description = Python wrapper for FatSecret REST API
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/walexnelson/pyfatsecret
project_urls =
Bug Tracker = https://github.com/walexnelson/pyfatsecret/issues
classifiers =
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
package_dir =
= src
packages = find:
python_requires = >=3.6

[options.packages.find]
where = src

[build-system]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]

[tool.setuptools_scm]
33 changes: 0 additions & 33 deletions setup.py

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit a678c71

Please sign in to comment.