Sitemap generator
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.

41 lines
1.3 KiB

9 years ago
9 years ago
4 years ago
9 years ago
9 years ago
6 years ago
9 years ago
9 years ago
9 years ago
4 years ago
9 years ago
4 years ago
9 years ago
  1. from distutils.core import setup
  2. from setuptools import find_packages, setup
  3. EXCLUDE_FROM_PACKAGES = ['tests',]
  4. def get_requirements():
  5. requirements = []
  6. with open('requirements.txt', 'r') as df:
  7. requirements = df.readlines()
  8. return [requirement.strip() for requirement in requirements]
  9. def get_version(major=0, minor=0, build=0):
  10. return '%s.%s.%s' % (major, minor, build)
  11. setup(
  12. name='sitemap-generator',
  13. version=get_version(
  14. major=0,
  15. minor=5,
  16. build=2,
  17. ),
  18. packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
  19. include_package_data=True,
  20. url='https://github.com/Haikson/sitemap-generator',
  21. license='GPL3',
  22. author='Kamo Petrosyan',
  23. author_email='kamo@haikson.com',
  24. description='web crawler and sitemap generator.',
  25. classifiers=[
  26. 'Environment :: Web Environment',
  27. 'Intended Audience :: Developers',
  28. 'License :: OSI Approved :: BSD License',
  29. 'Operating System :: OS Independent',
  30. 'Programming Language :: Python',
  31. 'Programming Language :: Python :: 3',
  32. 'Programming Language :: Python :: 3.7',
  33. 'Topic :: Software Development :: Libraries :: Python Modules',
  34. ],
  35. install_requires=get_requirements(),
  36. requires=get_requirements()
  37. )