mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Added so we can list it on PyPI and therefore displayed on djangopackages.com as compatible with Python 3.
This commit is contained in:
parent
d04a59fbe8
commit
0351c29295
|
@ -2,6 +2,9 @@
|
||||||
All enhancements and patches to cookiecutter-django will be documented in this file.
|
All enhancements and patches to cookiecutter-django will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [2015-10-25]
|
||||||
|
- Added `setup.py` so we can list it on PyPI and therefore displayed on djangopackages.com as compatible with Python 3.
|
||||||
|
|
||||||
## [2015-10-24]
|
## [2015-10-24]
|
||||||
### Changed
|
### Changed
|
||||||
- Update nav in base template to latest Bootstrap 4 version (@audreyr)
|
- Update nav in base template to latest Bootstrap 4 version (@audreyr)
|
||||||
|
@ -16,8 +19,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
## [2015-10-21]
|
## [2015-10-21]
|
||||||
### Changed
|
### Changed
|
||||||
- TODO (@pydanny)
|
- Updated requirements (@theskumar)
|
||||||
- TODO (@theskumar)
|
### Removed
|
||||||
|
- editorconfig comment that was just a isort settings link (@pydanny)
|
||||||
|
|
||||||
## [2015-10-19]
|
## [2015-10-19]
|
||||||
### Changed
|
### Changed
|
||||||
|
|
54
setup.py
Normal file
54
setup.py
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import os
|
||||||
|
import platform
|
||||||
|
import sys
|
||||||
|
|
||||||
|
try:
|
||||||
|
from setuptools import setup
|
||||||
|
except ImportError:
|
||||||
|
from distutils.core import setup
|
||||||
|
|
||||||
|
version = "1.0"
|
||||||
|
|
||||||
|
if sys.argv[-1] == 'tag':
|
||||||
|
os.system("git tag -a %s -m 'version %s'" % (version, version))
|
||||||
|
os.system("git push --tags")
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
|
with open('README.rst') as readme_file:
|
||||||
|
long_description = readme_file.read()
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name='cookiecutter-django',
|
||||||
|
version=version,
|
||||||
|
description='A Cookiecutter template for creating production-ready Django projects quickly.',
|
||||||
|
long_description=long_description,
|
||||||
|
author='Daniel Roy Greenfeld',
|
||||||
|
author_email='pydanny@gmail.com',
|
||||||
|
url='https://github.com/pydanny/cookiecutter-django',
|
||||||
|
packages=[],
|
||||||
|
license='BSD',
|
||||||
|
zip_safe=False,
|
||||||
|
classifiers=[
|
||||||
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
'Environment :: Console',
|
||||||
|
'Framework :: Django :: 1.8',
|
||||||
|
'Intended Audience :: Developers',
|
||||||
|
'Natural Language :: English',
|
||||||
|
'License :: OSI Approved :: BSD License',
|
||||||
|
'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 :: Implementation :: CPython',
|
||||||
|
'Programming Language :: Python :: Implementation :: PyPy',
|
||||||
|
'Topic :: Software Development',
|
||||||
|
],
|
||||||
|
keywords=(
|
||||||
|
'cookiecutter, Python, projects, project templates, django, '
|
||||||
|
'skeleton, scaffolding, project directory, setup.py'
|
||||||
|
),
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user