|
@@ -0,0 +1,83 @@
|
|
1
|
+# coding: utf-8
|
|
2
|
+# Always prefer setuptools over distutils
|
|
3
|
+from setuptools import setup
|
|
4
|
+from setuptools import find_packages
|
|
5
|
+from os import path
|
|
6
|
+
|
|
7
|
+here = path.abspath(path.dirname(__file__))
|
|
8
|
+
|
|
9
|
+install_requires = [
|
|
10
|
+ # Note: Bottle will be an extension in future
|
|
11
|
+ 'bottle==0.12.13',
|
|
12
|
+ 'marshmallow==2.13.6',
|
|
13
|
+]
|
|
14
|
+tests_require = []
|
|
15
|
+
|
|
16
|
+setup(
|
|
17
|
+ name='hapic',
|
|
18
|
+
|
|
19
|
+ # Versions should comply with PEP440. For a discussion on single-sourcing
|
|
20
|
+ # the version across setup.py and the project code, see
|
|
21
|
+ # https://packaging.python.org/en/latest/single_source_version.html
|
|
22
|
+ version='0.0.1',
|
|
23
|
+
|
|
24
|
+ description='HTTP api input/output manager',
|
|
25
|
+ # long_description=long_description,
|
|
26
|
+ long_description='',
|
|
27
|
+
|
|
28
|
+ # The project's main homepage.
|
|
29
|
+ url='http://gitlab.algoo.fr:10080/algoo/hapic.git',
|
|
30
|
+
|
|
31
|
+ # Author details
|
|
32
|
+ author='Algoo Development Team',
|
|
33
|
+ author_email='contact@algoo.fr',
|
|
34
|
+
|
|
35
|
+ # Choose your license
|
|
36
|
+ license='',
|
|
37
|
+
|
|
38
|
+ # What does your project relate to?
|
|
39
|
+ keywords='http api validation',
|
|
40
|
+
|
|
41
|
+ # You can just specify the packages manually here if your project is
|
|
42
|
+ # simple. Or you can use find_packages().
|
|
43
|
+ packages=find_packages(exclude=['contrib', 'docs', 'tests']),
|
|
44
|
+
|
|
45
|
+ # Alternatively, if you want to distribute just a my_module.py, uncomment
|
|
46
|
+ # this:
|
|
47
|
+ # py_modules=["my_module"],
|
|
48
|
+
|
|
49
|
+ # List run-time dependencies here. These will be installed by pip when
|
|
50
|
+ # your project is installed. For an analysis of "install_requires" vs pip's
|
|
51
|
+ # requirements files see:
|
|
52
|
+ # https://packaging.python.org/en/latest/requirements.html
|
|
53
|
+ install_requires=install_requires,
|
|
54
|
+
|
|
55
|
+ # List additional groups of dependencies here (e.g. development
|
|
56
|
+ # dependencies). You can install these using the following syntax,
|
|
57
|
+ # for example:
|
|
58
|
+ # $ pip install -e ".[test]"
|
|
59
|
+ extras_require={
|
|
60
|
+ 'test': tests_require,
|
|
61
|
+ },
|
|
62
|
+
|
|
63
|
+ # If there are data files included in your packages that need to be
|
|
64
|
+ # installed, specify them here. If using Python 2.6 or less, then these
|
|
65
|
+ # have to be included in MANIFEST.in as well.
|
|
66
|
+ # package_data={
|
|
67
|
+ # 'sample': ['package_data.dat'],
|
|
68
|
+ # },
|
|
69
|
+
|
|
70
|
+ # Although 'package_data' is the preferred approach, in some case you may
|
|
71
|
+ # need to place data files outside of your packages. See:
|
|
72
|
+ # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
|
|
73
|
+ # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
|
|
74
|
+ # data_files=[('my_data', ['data/data_file'])],
|
|
75
|
+
|
|
76
|
+ # To provide executable scripts, use entry points in preference to the
|
|
77
|
+ # "scripts" keyword. Entry points provide cross-platform support and allow
|
|
78
|
+ # pip to create the appropriate form of executable for the target platform.
|
|
79
|
+ entry_points={},
|
|
80
|
+
|
|
81
|
+ setup_requires=[],
|
|
82
|
+ tests_require=tests_require,
|
|
83
|
+)
|