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.

40 lines
1.2 KiB

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