1+ # Always prefer setuptools over distutils
2+ from setuptools import setup , find_packages
3+ # To use a consistent encoding
4+ from codecs import open
5+ from os import path
6+
7+ here = path .abspath (path .dirname (__file__ ))
8+
9+ # Get the long description from the README file
10+ with open (path .join (here , 'README.md' ), encoding = 'utf-8' ) as f :
11+ long_description = f .read ()
12+
13+ setup (
14+ name = 'urbackup-server-web-api-wrapper' ,
15+
16+ # Versions should comply with PEP440. For a discussion on single-sourcing
17+ # the version across setup.py and the project code, see
18+ # https://packaging.python.org/en/latest/single_source_version.html
19+ version = '0.1' ,
20+
21+ description = 'Python wrapper to access and control an UrBackup server' ,
22+ long_description = long_description ,
23+
24+ # The project's main homepage.
25+ url = 'https://github.com/uroni/urbackup-server-python-web-api-wrapper' ,
26+
27+ # Author details
28+ author = 'Martin Raiber' ,
29+ author_email = 'martin@urbackup.org' ,
30+
31+ # Choose your license
32+ license = 'Apache License 2.0' ,
33+
34+ # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
35+ classifiers = [
36+ # How mature is this project? Common values are
37+ # 3 - Alpha
38+ # 4 - Beta
39+ # 5 - Production/Stable
40+ 'Development Status :: 3 - Alpha' ,
41+
42+ # Indicate who your project is intended for
43+ 'Intended Audience :: Developers' ,
44+
45+ # Pick your license as you wish (should match "license" above)
46+ 'License :: OSI Approved :: Apache Software License' ,
47+
48+ # Specify the Python versions you support here. In particular, ensure
49+ # that you indicate whether you support Python 2, Python 3 or both.
50+ 'Programming Language :: Python :: 3.4' ,
51+ 'Programming Language :: Python :: 3.5' ,
52+ ],
53+
54+ # What does your project relate to?
55+ keywords = 'urbackup web api client' ,
56+
57+ # You can just specify the packages manually here if your project is
58+ # simple. Or you can use find_packages().
59+ packages = find_packages (exclude = ['contrib' , 'docs' , 'tests' ]),
60+
61+ # Alternatively, if you want to distribute just a my_module.py, uncomment
62+ # this:
63+ # py_modules=["my_module"],
64+
65+ # List run-time dependencies here. These will be installed by pip when
66+ # your project is installed. For an analysis of "install_requires" vs pip's
67+ # requirements files see:
68+ # https://packaging.python.org/en/latest/requirements.html
69+ install_requires = [],
70+
71+ # List additional groups of dependencies here (e.g. development
72+ # dependencies). You can install these using the following syntax,
73+ # for example:
74+ # $ pip install -e .[dev,test]
75+ extras_require = {
76+ 'dev' : [],
77+ 'test' : [],
78+ }
79+ )
0 commit comments