-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (40 loc) · 1.2 KB
/
setup.py
File metadata and controls
43 lines (40 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
from setuptools import setup, find_packages
with open("keyfieldhome/__init__.py") as f:
version = next(l.split('"')[-2] for l in f if l.startswith('__version__'))
with open("README.md", "r") as f:
readme = f.read()
setup(
name='KeyField Homeserver',
version=version,
description="The KeyField reference Homeserver implementation",
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='keyfield federation crypto chat',
author='Ben Klein',
author_email='robobenklein@gmail.com',
url='https://keyfield.io/',
license='MPL-2.0',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests', 'venv']),
include_package_data=True,
zip_safe=False,
install_requires=[
"flask",
"coloredlogs",
"pymongo",
"toml",
"gunicorn",
"requests",
"mongoengine",
"bcrypt",
"pytz",
"msgpack",
"pynacl",
],
entry_points={
'console_scripts': [
'keyfield-homeserver=keyfieldhome.__main__:__main__'
]
},
python_requires='>=3.7'
)