-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
39 lines (31 loc) · 1 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
import os
import setuptools
dir_path = os.path.dirname(os.path.realpath(__file__))
def read(fname):
with open(fname, "r") as f:
return f.read()
install_requires = [
l
for l in read(os.path.join(dir_path, "requirements.txt")).splitlines()
if l and not l.startswith("#")
]
setuptools.setup(
name="starlette-jsonrpc",
version="0.2.0",
author="Kamil Dębowski",
author_email="poczta@kdebowski.pl",
description="JSON-RPC implementation for Starlette framework",
long_description=read("README.md"),
long_description_content_type="text/markdown",
url="https://github.com/kdebowski/starlette-jsonrpc",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
],
install_requires=install_requires,
include_package_data=True,
)