forked from tomashanacek/mock-server
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (32 loc) · 1.21 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
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from mock_server import __version__
root_dir = os.path.dirname(__file__)
def read(fname):
with open(os.path.join(root_dir, fname)) as f:
return f.read()
with open(os.path.join(root_dir, "requirements.txt")) as f:
install_requires = [r.strip() for r in f if "#egg=" not in r]
description = "%s\n\n%s" % (read("README.rst"), read("CHANGES.rst"))
classifiers = ["Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Topic :: Internet",
"Topic :: Software Development :: Documentation"]
setup(
name="mock-server",
version=__version__,
description=("Simple mock server for REST API"),
long_description=description,
author="Tomas Hanacek",
author_email="[email protected]",
url="https://github.com/tomashanacek/mock-server",
license="http://www.apache.org/licenses/LICENSE-2.0",
packages=["mock_server"],
scripts=["bin/mock-server"],
install_requires=install_requires,
include_package_data=True,
classifiers=classifiers,
test_suite="mock_server.tests.all.suite"
)