setup.py 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. __author__ = 'marcos.medeiros'
  2. """Django Articles
  3. A simple CMS based on static files that hold data applied to a template.
  4. """
  5. # Always prefer setuptools over distutils
  6. from setuptools import setup, find_packages
  7. # To use a consistent encoding
  8. from codecs import open
  9. from os import path
  10. here = path.abspath(path.dirname(__file__))
  11. # Get the long description from the relevant file
  12. with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
  13. long_description = f.read()
  14. setup(
  15. name='django-articles',
  16. version='1.0.0',
  17. description='A simple CMS based on static files that hold data applied to a template.',
  18. long_description=long_description,
  19. # The project's main homepage.
  20. url='https://marcosdumay.com/django-articles',
  21. # Author details
  22. author='Marcos Dumay de Medeiros',
  23. author_email='marcos@marcosdumay.com',
  24. # Choose your license
  25. license='MIT',
  26. # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
  27. classifiers=[
  28. # 'Development Status :: 2 - Pre-Alpha',
  29. # 'Environment :: Web Environment',
  30. # 'Framework :: Django :: 1.8',
  31. # 'Intended Audience :: Developers',
  32. # 'Topic :: Software Development :: Build Tools',
  33. # 'License :: OSI Approved :: MIT License',
  34. # 'Natural Language :: Portuguese (Brazilian)',
  35. # 'Operating System :: OS Independent',
  36. # 'Programming Language :: Python :: 2',
  37. # 'Programming Language :: Python :: 2.6',
  38. # 'Programming Language :: Python :: 2.7',
  39. #'Programming Language :: Python :: 3',
  40. #'Programming Language :: Python :: 3.2',
  41. #'Programming Language :: Python :: 3.3',
  42. #'Programming Language :: Python :: 3.4',
  43. ],
  44. # What does your project relate to?
  45. keywords='',
  46. # You can just specify the packages manually here if your project is
  47. # simple. Or you can use find_packages().
  48. packages=find_packages('src', exclude=['contrib', 'docs', 'tests*']),
  49. package_dir = {'': 'src'},
  50. zip_safe = False,
  51. # List run-time dependencies here. These will be installed by pip when
  52. # your project is installed. For an analysis of "install_requires" vs pip's
  53. # requirements files see:
  54. # https://packaging.python.org/en/latest/requirements.html
  55. install_requires=['django>=1.7'],
  56. # List additional groups of dependencies here (e.g. development
  57. # dependencies). You can install these using the following syntax,
  58. # for example:
  59. # $ pip install -e .[dev,test]
  60. extras_require={},
  61. # If there are data files included in your packages that need to be
  62. # installed, specify them here. If using Python 2.6 or less, then these
  63. # have to be included in MANIFEST.in as well.
  64. include_package_data=True,
  65. # package_data={
  66. # 'sample': ['package_data.dat'],
  67. # },
  68. # Although 'package_data' is the preferred approach, in some case you may
  69. # need to place data files outside of your packages. See:
  70. # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
  71. # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
  72. data_files=[],
  73. # To provide executable scripts, use entry points in preference to the
  74. # "scripts" keyword. Entry points provide cross-platform support and allow
  75. # pip to create the appropriate form of executable for the target platform.
  76. entry_points={
  77. # 'console_scripts': [
  78. # 'sample=sample:main',
  79. # ],
  80. },
  81. )