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.2 KiB

  1. import os
  2. from setuptools import setup, find_packages
  3. # Utility function to read the README file.
  4. # Used for the long_description. It's nice, because now 1) we have a top level
  5. # README file and 2) it's easier to type in the README file than to put a raw
  6. # string in below ...
  7. def read(fname):
  8. return open(os.path.join(os.path.dirname(__file__), fname)).read()
  9. setup(
  10. name="SynapseHomeServer",
  11. version="0.1",
  12. packages=find_packages(exclude=["tests"]),
  13. description="Reference Synapse Home Server",
  14. install_requires=[
  15. "syutil==0.0.1",
  16. "Twisted>=14.0.0",
  17. "service_identity>=1.0.0",
  18. "pyasn1",
  19. "pynacl",
  20. "daemonize",
  21. "py-bcrypt",
  22. ],
  23. dependency_links=[
  24. "git+ssh://git@git.openmarket.com/tng/syutil.git#egg=syutil-0.0.1",
  25. ],
  26. setup_requires=[
  27. "setuptools_trial",
  28. "setuptools>=1.0.0", # Needs setuptools that supports git+ssh. It's not obvious when support for this was introduced.
  29. "mock"
  30. ],
  31. include_package_data=True,
  32. long_description=read("README.rst"),
  33. entry_points="""
  34. [console_scripts]
  35. synapse-homeserver=synapse.app.homeserver:run
  36. """
  37. )