-
Notifications
You must be signed in to change notification settings - Fork 33
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
1 parent
cd3657d
commit 6d2c34f
Showing
5 changed files
with
55 additions
and
20 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 |
---|---|---|
@@ -1 +1,4 @@ | ||
__pycache__/ | ||
build/ | ||
dist/ | ||
*.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 @@ | ||
include LICENSE | ||
include README.md | ||
include MANIFEST.in | ||
recursive-include daterangefilter *.py *.html *.po *.mo |
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,23 @@ | ||
.PHONY: test sdist wheel release pre-release clean | ||
|
||
test: | ||
python runtests.py | ||
|
||
sdist: | ||
python setup.py sdist | ||
|
||
wheel: | ||
python setup.py bdist_wheel --universal | ||
|
||
release: clean sdist wheel | ||
twine upload dist/* | ||
|
||
pre-release: sdist wheel | ||
twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
|
||
clean: | ||
find . -name '*.pyc' -exec rm -f {} + | ||
find . -name '*.pyo' -exec rm -f {} + | ||
rm -rf build | ||
rm -rf dist | ||
rm -rf *.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
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 |
---|---|---|
@@ -1,29 +1,32 @@ | ||
import setuptools | ||
|
||
with open("README.md", "r") as fh: | ||
with open('README.md', 'r') as fh: | ||
long_description = fh.read() | ||
|
||
setuptools.setup( | ||
name="django-daterangefilter", | ||
version="0.0.1", | ||
name='django-daterangefilter', | ||
version='0.1.1', | ||
license='MIT', | ||
author="Andrey Novikov", | ||
author_email="[email protected]", | ||
description="Date range filter for Django admin", | ||
author='Andrey Novikov', | ||
author_email='[email protected]', | ||
description='Date range filter for Django admin', | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/andreynovikov/django-daterangefilter/tree/master", | ||
long_description_content_type='text/markdown', | ||
url='https://github.com/andreynovikov/django-daterangefilter/tree/master', | ||
project_urls={ | ||
'Source': 'https://github.com/andreynovikov/django-daterangefilter/', | ||
'Tracker': 'https://github.com/andreynovikov/django-daterangefilter/issues', | ||
}, | ||
packages=setuptools.find_packages(), | ||
include_package_data=True, | ||
zip_safe=False, | ||
classifiers=[ | ||
"Framework :: Django", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.4", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
'Development Status :: 4 - Beta', | ||
'Framework :: Django', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 3', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
], | ||
) |