PageRenderTime 23ms CodeModel.GetById 36ms RepoModel.GetById 0ms app.codeStats 0ms

/setup.py

https://github.com/Kozea/pystil
Python | 48 lines | 34 code | 5 blank | 9 comment | 0 complexity | 37993c636fad65b968a01702d613e481 MD5 | raw file
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. # Copyright (C) 2011-2013 by Florian Mounier, Kozea
  4. # This file is part of pystil, licensed under a 3-clause BSD license.
  5. """
  6. pystil - An elegant site web traffic analyzer
  7. """
  8. from setuptools import find_packages, setup
  9. # Use a time-based version number with ridiculous precision as pip in tox
  10. # does not reinstall the same version.
  11. import datetime
  12. VERSION = "git-" + datetime.datetime.now().isoformat()
  13. options = dict(
  14. name="pystil",
  15. version=VERSION,
  16. description="An elegant site web traffic analyzer",
  17. long_description=__doc__,
  18. author="Florian Mounier - Kozea",
  19. author_email="florian.mounier@kozea.fr",
  20. license="BSD",
  21. platforms="Any",
  22. packages=find_packages(),
  23. scripts=["pystil2.py"],
  24. package_data={
  25. 'pystil': ['static/*.js',
  26. 'static/*.gif',
  27. 'static/*.png',
  28. 'static/stylesheets/images/*.png',
  29. 'static/stylesheets/*.css',
  30. 'static/js/*',
  31. 'static/img/*',
  32. 'static/font/*',
  33. 'templates/site/*',
  34. 'templates/*.html']
  35. },
  36. install_requires=['tornado', 'pygal', 'sqlalchemy', 'psycopg2', 'momoko'],
  37. classifiers=[
  38. "Development Status :: WIP",
  39. "Intended Audience :: Public",
  40. "License :: OSI Approved :: BSD License",
  41. "Operating System :: Linux",
  42. "Programming Language :: Python :: 3.3"])
  43. setup(**options)