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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

53 lines
1.5 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. #!/usr/bin/env python3
  2. import os.path
  3. # Always prefer setuptools over distutils
  4. from setuptools import setup, find_packages
  5. here = os.path.abspath(os.path.dirname(__file__))
  6. def version():
  7. with open(os.path.join(here, "efar", "__init__.py")) as fp:
  8. for line in fp:
  9. if "__version__" in line.strip():
  10. version = line.split("=", 1)[1].strip().strip("'")
  11. return version
  12. setup(
  13. name='efar',
  14. version=version(),
  15. description='pEp Python Email Forwarder to Anoymous Remailers',
  16. long_description=open("README.md").read(),
  17. long_description_content_type="text/markdown",
  18. author='juga',
  19. author_email='juga@riseup.net',
  20. license='GPLv3',
  21. url="https://gitea.pep.foundation/juga/pEpPythonEFAR.git",
  22. classifiers=[
  23. 'Development Status :: 4 - Beta',
  24. "Environment :: Console",
  25. 'Intended Audience :: Developers',
  26. 'Intended Audience :: System Administrators',
  27. 'Operating System :: OS Independent',
  28. 'Programming Language :: Python :: 3.7',
  29. 'Topic :: System :: Networking',
  30. ],
  31. packages=find_packages(),
  32. include_package_data=True,
  33. keywords='email pEp OpenPGP remailer mixmaster',
  34. python_requires='>=3.7',
  35. entry_points={
  36. 'console_scripts': [
  37. 'efar = efar.cli:main',
  38. ]
  39. },
  40. install_requires=[
  41. 'pEp>=2.0',
  42. ],
  43. extras_require={
  44. 'test': ['flake8', 'tox', 'pytest', 'coverage'],
  45. 'doc': ['sphinx', 'pylint'],
  46. },
  47. )