Skip to content

Commit

Permalink
Swap to twine for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamWhittingham committed Oct 24, 2023
1 parent dc859e7 commit bde98fd
Show file tree
Hide file tree
Showing 10 changed files with 78 additions and 38 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ init_ci:

.PHONY: init
init:
python -m pip install --upgrade pip build
pip install --requirement requirements.txt

.PHONY: version
Expand Down Expand Up @@ -45,7 +46,9 @@ pytest:
release: test
# Check pypi configured
test -f ~/.pypirc
python setup.py sdist upload --repository pypi
pythom -m build
twine upload -r testpypi dist/*
# twine upload -r pypi dist/*
git tag $(CURRENT_VERSION)
git push --tags
git push
9 changes: 9 additions & 0 deletions PyCronofy.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Metadata-Version: 2.1
Name: PyCronofy
Version: 2.0.0
Summary: Python library for Cronofy
Author-email: VenueBook <[email protected]>, Cronofy <[email protected]>
Requires-Python: >=3.7
License-File: LICENCE.txt
Requires-Dist: requests>=2.20.0
Requires-Dist: pytz>=2013.7
38 changes: 38 additions & 0 deletions PyCronofy.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
CHANGELOG.md
LICENCE.txt
MANIFEST.in
README.md
pyproject.toml
requirements-ci.txt
requirements.txt
setup.cfg
PyCronofy.egg-info/PKG-INFO
PyCronofy.egg-info/SOURCES.txt
PyCronofy.egg-info/dependency_links.txt
PyCronofy.egg-info/requires.txt
PyCronofy.egg-info/top_level.txt
pycronofy/__init__.py
pycronofy/auth.py
pycronofy/batch.py
pycronofy/client.py
pycronofy/datetime_utils.py
pycronofy/exceptions.py
pycronofy/pagination.py
pycronofy/request_handler.py
pycronofy/settings.py
pycronofy/validation.py
pycronofy/tests/__init__.py
pycronofy/tests/common_data.py
pycronofy/tests/test_application_calendar.py
pycronofy/tests/test_auth.py
pycronofy/tests/test_availability.py
pycronofy/tests/test_batch.py
pycronofy/tests/test_client.py
pycronofy/tests/test_conferencing_services.py
pycronofy/tests/test_custom_datacenter.py
pycronofy/tests/test_datetime_utils.py
pycronofy/tests/test_pagination.py
pycronofy/tests/test_real_time_scheduling.py
pycronofy/tests/test_real_time_sequencing.py
pycronofy/tests/test_request_handler.py
pycronofy/tests/test_validation.py
1 change: 1 addition & 0 deletions PyCronofy.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions PyCronofy.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
requests>=2.20.0
pytz>=2013.7
1 change: 1 addition & 0 deletions PyCronofy.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pycronofy
21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[project]
name = "PyCronofy"
version = "2.0.0"
requires-python = ">=3.7"
dependencies = [
"requests>=2.20.0",
"pytz>=2013.7",
]
description = 'Python library for Cronofy'
authors = [
{name = "VenueBook", email = "[email protected]"},
{name = "Cronofy", email = "[email protected]"},
]

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[options.packages.find]
exclude =
=pycronofy.test*
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ pytz>=2018.9
pytest>=6.2.4
pytest-cov>=2.12.1
responses>=0.5.0
twine>=4.0.2
flake8
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
universal = 1

[metadata]
description-file = README.md
description_file = README.md
36 changes: 0 additions & 36 deletions setup.py

This file was deleted.

0 comments on commit bde98fd

Please sign in to comment.