Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit 8a6c5c8

Browse files
authored
Use pyproject and tox configuration, eliminate setup* files (#21)
* Wiho * Up
1 parent ef3a5ce commit 8a6c5c8

File tree

15 files changed

+140
-167
lines changed

15 files changed

+140
-167
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,4 @@ jobs:
7171
- name: Publish pip packages with tox
7272
run: tox -e release
7373
env:
74-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
75-
- name: Publish pip packages with tox
76-
run: echo $PYPI_TOKEN
77-
env:
78-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
74+
POETRY_PYPI_PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add the application to installed django applications:
1919
```py
2020
DJANGO_APPS = [
2121
...
22-
"google_optimize",
22+
"django_google_optimize",
2323
...
2424
]
2525
```
@@ -29,7 +29,7 @@ Add the context processor:
2929
```py
3030
"context_processors": [
3131
...
32-
"google_optimize.context_processors.google_experiment",
32+
"django_google_optimize.context_processors.google_experiment",
3333
...
3434
]
3535
```
@@ -43,7 +43,7 @@ Add settings for the experiments:
4343
- variant_aliases: Aliases for each variant, each index represents a Optmize Experiment variant
4444

4545
```py
46-
# google-optimize
46+
# django-google-optimize
4747
GOOGLE_OPTIMIZE_EXPERIMENTS = [
4848
{
4949
"id": "utSuKi3PRbmxeG08en8VNw",

django_google_optimize/__init__.py

Whitespace-only changes.
File renamed without changes.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# The short X.Y version.
99
version = "0.1"
1010
# The full version, including alpha/beta/rc tags.
11-
release = "0.1.3"
11+
release = "0.1.7"
1212

1313
intersphinx_mapping = {
1414
"django": (

google_optimize/__init__.py

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

poetry.lock

Lines changed: 68 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,38 @@
11
[tool.poetry]
22
name = "django-google-optimize"
3-
version = "0.1.3"
4-
description = ""
53
authors = ["Adin Hodovic <[email protected]>"]
64
license = "MIT"
5+
version = "0.1.7"
6+
readme = "README.md"
7+
homepage = "https://github.com/adinhodovic/django-google-optimize"
8+
repository = "https://github.com/adinhodovic/django-google-optimize"
9+
documentation = "https://github.com/adinhodovic/django-google-optimize"
10+
description = "Django-google-optimize is a reusable Django application designed to make running server side Google Optimize A/B test easy."
11+
keywords = [
12+
"A/B Testing",
13+
"Google Optimize",
14+
"Django",
15+
"Server Side",
16+
"KPI"
17+
]
18+
classifiers = [
19+
"Development Status :: 5 - Production/Stable",
20+
"Environment :: Web Environment",
21+
"Framework :: Django",
22+
"Framework :: Django :: 2.2",
23+
"Framework :: Django :: 3.0",
24+
"Intended Audience :: Developers",
25+
"License :: OSI Approved :: MIT License",
26+
"Operating System :: OS Independent",
27+
"Programming Language :: Python",
28+
"Programming Language :: Python :: 3",
29+
"Programming Language :: Python :: 3.6",
30+
"Programming Language :: Python :: 3.7",
31+
"Programming Language :: Python :: 3.8",
32+
]
733

834
[tool.poetry.dependencies]
9-
python = "^3.7"
35+
python = "^3.6"
1036
pylint = "^2.4.4"
1137
pylint-django = "^2.0.13"
1238

setup.cfg

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

0 commit comments

Comments
 (0)