1 # -*- coding: utf-8 -*-
3 # Copyright (C) 2013 LEAP
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 setup file for leap.common
20 from setuptools import setup, find_packages
23 versioneer.versionfile_source = 'src/leap/common/_version.py'
24 versioneer.versionfile_build = 'leap/common/_version.py'
25 versioneer.tag_prefix = '' # tags are like 1.2.0
26 versioneer.parentdir_prefix = 'leap.common-'
28 # XXX parse pkg/requirements.pip
40 #"https://protobuf-socket-rpc.googlecode.com/files/protobuf.socketrpc-1.3.2.tar.gz#egg=protobuf.socketrpc"
43 tests_requirements = [
48 "Development Status :: 3 - Alpha",
49 "Intended Audience :: Developers",
50 ("License :: OSI Approved :: GNU General "
51 "Public License v3 or later (GPLv3+)"),
52 "Operating System :: OS Independent",
53 "Programming Language :: Python",
54 "Programming Language :: Python :: 2.6",
55 "Programming Language :: Python :: 2.7",
56 "Topic :: Communications",
63 version=versioneer.get_version(),
64 cmdclass=versioneer.get_cmdclass(),
65 url='https://leap.se/',
67 author='The LEAP Encryption Access Project',
68 author_email='info@leap.se',
69 description='Common files used by the LEAP project.',
71 "Common files used by the LEAP Client project."
73 classifiers=trove_classifiers,
74 namespace_packages=["leap"],
75 package_dir={'': 'src'},
76 # For now, we do not exclude tests because of the circular dependency
77 # between leap.common and leap.soledad.
78 #packages=find_packages('src', exclude=['leap.common.tests']),
79 packages=find_packages('src'),
80 test_suite='leap.common.tests',
81 install_requires=requirements,
82 #dependency_links=dependency_links,
83 tests_require=tests_requirements,
84 include_package_data=True