python api for request and display random VDM from vdm.com. Display can be do with multiple library : i3, qt, gtk, etc ...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.8KB

  1. """
  2. VDMAPI
  3. """
  4. import os
  5. import sys
  6. from setuptools import find_packages, setup
  7. from VDMAPI.version import version
  8. module_path = os.path.join(
  9. os.path.dirname(os.path.realpath(__file__)), 'VDMAPI')
  10. sys.path.insert(0, module_path)
  11. sys.path.remove(module_path)
  12. # Utility function to read the README file.
  13. # Used for the long_description. It's nice, because now
  14. # 1) we have a top level README file and
  15. # 2) it's easier to type in the README file than to put a raw string in below ...
  16. def read(fname):
  17. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  18. setup(
  19. name='VDM API',
  20. version=version,
  21. author='Antoine Roux',
  22. author_email='antoinroux@hotmail.fr',
  23. description='VDM API: an API for recover random VDM from vdm.fr website',
  24. long_description=read('README.rst'),
  25. url='https://antoine-roux.ml/projects/python/vdmAPI.git',
  26. download_url='gitolite@antoine-roux.ml:python/vdmAPI.git',
  27. license='Beerware',
  28. platforms='any',
  29. packages=find_packages(),
  30. include_package_data=True,
  31. install_requires=[],
  32. entry_points={
  33. 'console_scripts': [
  34. 'vdm = VDMAPI.__main__:main',
  35. ]
  36. },
  37. classifiers=[
  38. 'License :: FSF approved :: Beerware License',
  39. 'Operating System :: POSIX :: Linux',
  40. 'Programming Language :: Python',
  41. 'Programming Language :: Python :: 2.6',
  42. 'Programming Language :: Python :: 2.7',
  43. 'Programming Language :: Python :: 3',
  44. 'Programming Language :: Python :: 3.2',
  45. 'Programming Language :: Python :: 3.3',
  46. 'Programming Language :: Python :: 3.4',
  47. 'Programming Language :: Python :: 3.5',
  48. 'Programming Language :: Python :: 3.6',
  49. 'Topic :: Software Development :: Libraries :: Python Modules',
  50. ]
  51. )