-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·41 lines (35 loc) · 1.13 KB
/
setup.py
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
#!/usr/bin/env python
#
# This file is in the public domain.
#
import re, os, setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
v = open(os.path.join(os.path.dirname(__file__), 'jmapd', '__init__.py'))
VERSION = re.compile(r".*__version__ *= *['\"](.*?)['\"]", re.S) \
.match(v.read()).group(1)
DEPENDENCIES = ('neurons',)
setuptools.setup(
name="jmapd",
version=VERSION,
author="Burak Arslan",
author_email="[email protected]",
description="A JMAP server implementation",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/arskom/jmapd",
packages=setuptools.find_packages(),
install_requires=DEPENDENCIES,
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
python_requires='>=2.7',
entry_points={
'console_scripts': [
'jmapd=jmapd.main:jmapd_main',
]
},
)