setup.py 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. # List run-time dependencies here. These will be installed by pip when
  50. # your project is installed. For an analysis of "install_requires" vs pip's
  51. # requirements files see:
  52. # https://packaging.python.org/en/latest/requirements.html
  53. install_requires=['django>=1.8'],
  54. # List additional groups of dependencies here (e.g. development
  55. # dependencies). You can install these using the following syntax,
  56. # for example:
  57. # $ pip install -e .[dev,test]
  58. extras_require={},
  59. # If there are data files included in your packages that need to be
  60. # installed, specify them here. If using Python 2.6 or less, then these
  61. # have to be included in MANIFEST.in as well.
  62. include_package_data=True,
  63. # package_data={
  64. # 'sample': ['package_data.dat'],
  65. # },
  66. # Although 'package_data' is the preferred approach, in some case you may
  67. # need to place data files outside of your packages. See:
  68. # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
  69. # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
  70. data_files=[],
  71. # To provide executable scripts, use entry points in preference to the
  72. # "scripts" keyword. Entry points provide cross-platform support and allow
  73. # pip to create the appropriate form of executable for the target platform.
  74. entry_points={
  75. # 'console_scripts': [
  76. # 'sample=sample:main',
  77. # ],
  78. },
  79. )