setup.py 3.5 KB

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