Skip to content

Commit

Permalink
Adds pypy files
Browse files Browse the repository at this point in the history
  • Loading branch information
rsinger86 committed Oct 3, 2019
1 parent 5b343a6 commit d15e2c0
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ README.txt
dist/
.mypy_cache/
.vscode/
db.sqlite3
db.sqlite3
drf_typed_views.egg-info/
4 changes: 4 additions & 0 deletions pypi_submit.py
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/*")
33 changes: 33 additions & 0 deletions setup.py
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",
)

0 comments on commit d15e2c0

Please sign in to comment.