forked from ara818/django-autocompleter
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from ycharts/pypi_distribution
Pypi Distribution
- Loading branch information
Showing
6 changed files
with
55 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
.idea/ | ||
.vscode/ | ||
.DS_Store | ||
*.egg-info/* | ||
*.egg-info | ||
.coverage | ||
**/htmlcov/** | ||
dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Create Release | ||
|
||
1. Update version in `autocompleter/__init__.py` | ||
2. `pip install -r dev_requirements.txt` | ||
3. `python -m build` | ||
4. `twine upload dist/*` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
# Packages needed if you'd like to test / develop on django-autocompleter | ||
coverage | ||
pre-commit | ||
twine | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "django-redis-autocompleter" | ||
authors = [ | ||
{ name="Ara Anjargolian", email="[email protected]" }, | ||
{ name="Kevin Fox", email="[email protected]" }, | ||
] | ||
description = "A redis-backed autocompleter for Django projects." | ||
readme = "README.md" | ||
requires-python = ">=3.7" | ||
keywords = [ | ||
"autocompleter", | ||
"django" | ||
] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"Framework :: Django", | ||
] | ||
dependencies = [ | ||
"Django >=3.2.*, <4.0", | ||
"hiredis >= 1", | ||
"redis >= 3", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
"Homepage" = "https://github.com/ycharts/django-autocompleter" | ||
"Bug Tracker" = "https://github.com/ycharts/django-autocompleter/issues" | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"autocompleter", | ||
"autocompleter.management", | ||
"autocompleter.management.commands", | ||
] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "autocompleter.VERSION"} |