Skip to content

Commit d4a513b

Browse files
authored
Merge pull request #30 from dynata/POP-2291
Small updates prior to 1.0 release:
2 parents 7c762b7 + 3ca023d commit d4a513b

File tree

5 files changed

+64
-61
lines changed

5 files changed

+64
-61
lines changed

.circleci/config.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: release
2+
on:
3+
create:
4+
tags:
5+
- '*'
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Get release tag
13+
id: get_version
14+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
15+
- uses: actions/checkout@v1
16+
- name: Set up Python
17+
uses: actions/setup-python@v1
18+
with:
19+
python-version: 3.7
20+
- name: Install Poetry
21+
run: |
22+
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
23+
poetry install
24+
- name: Poetry - Set Version & Build
25+
run: |
26+
poetry version ${{ steps.get_version.outputs.VERSION }}
27+
poetry build
28+
- name: Push to PyPI
29+
run: |
30+
poetry publish --build --username "${{ secrets.PYPI_USERNAME }}" --password "${{ secrets.PYPI_PASSWORD }}" --no-interaction
31+
- name: Create Release
32+
id: create_release
33+
uses: actions/create-release@v1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
with:
37+
tag_name: ${{ github.ref }}
38+
release_name: Release ${{ github.ref }}
39+
body: |
40+
Release ${{ github.ref }}
41+
draft: false
42+
prerelease: false

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Dynata
3+
Copyright (c) 2020 Dynata
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

pyproject.toml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[tool.poetry]
2+
name = "dynatademand"
3+
version = "1.0"
4+
description = "A Python client library for the Dynata Demand API"
5+
authors = ["Ridley Larsen <Ridley.Larsen@dynata.com>", "Bradley Wogsland <Bradley.Wogsland@dynata.com>", "Nathan Workman <Nathan.Workman@dynata.com>"]
6+
7+
[tool.poetry.dependencies]
8+
python = "^2.7"
9+
responses = "0.10.6"
10+
requests = "2.22.0"
11+
pytest = "4.6.6"
12+
jsonschema = "3.2.0"
13+
pytest-runner = "5.2"
14+
15+
[tool.poetry.dev-dependencies]
16+
17+
[build-system]
18+
requires = ["poetry>=0.12"]
19+
build-backend = "poetry.masonry.api"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
setup(
44
name='dynata-demandapi-client',
5-
version=0.1,
5+
version=1.0,
66
license="MIT",
77
description="A Python client library for the Dynata Demand API",
88
long_description="A Python client library for the Dynata Demand API",
99
author="Ridley Larsen",
1010
author_email="Ridley.Larsen@Dynata.com",
11-
url="https://github.com/researchnow/python-demandapi-client",
11+
url="https://github.com/dynata/python-demandapi-client",
1212
download_url="https://pypi.python.org/pypi/dynata-demandapi-client",
1313
packages=find_packages(exclude=('tests', )),
1414
platforms=['Any'],

0 commit comments

Comments
 (0)