forked from rsinger86/drf-typed-views
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
39 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -4,4 +4,5 @@ README.txt | |
dist/ | ||
.mypy_cache/ | ||
.vscode/ | ||
db.sqlite3 | ||
db.sqlite3 | ||
drf_typed_views.egg-info/ |
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,4 @@ | ||
import os | ||
|
||
os.system("python setup.py sdist --verbose") | ||
os.system("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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env python | ||
from setuptools import setup | ||
from codecs import open | ||
|
||
|
||
def readme(): | ||
with open("README.md", "r") as infile: | ||
return infile.read() | ||
|
||
|
||
classifiers = [ | ||
# Pick your license as you wish (should match "license" above) | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3.3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
] | ||
setup( | ||
name="drf-typed-views", | ||
version="0.1.0", | ||
description="Use type annotations for automatic request validation/sanitization.", | ||
author="Robert Singer", | ||
author_email="[email protected]", | ||
packages=["rest_typed_views"], | ||
url="https://github.com/rsinger86/drf-typed-views", | ||
license="MIT", | ||
keywords="django rest type annotations automatic validation validate", | ||
long_description=readme(), | ||
classifiers=classifiers, | ||
long_description_content_type="text/markdown", | ||
) |