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 parsed_reqs = utils.parse_requirements()
26 versioneer.versionfile_source = 'src/leap/common/_version.py'
27 versioneer.versionfile_build = 'leap/common/_version.py'
28 versioneer.tag_prefix = '' # tags are like 1.2.0
29 versioneer.parentdir_prefix = 'leap.common-'
31 tests_requirements = [
36 "Development Status :: 3 - Alpha",
37 "Intended Audience :: Developers",
38 ("License :: OSI Approved :: GNU General "
39 "Public License v3 or later (GPLv3+)"),
40 "Operating System :: OS Independent",
41 "Programming Language :: Python",
42 "Programming Language :: Python :: 2.6",
43 "Programming Language :: Python :: 2.7",
44 "Topic :: Communications",
51 version=versioneer.get_version(),
52 cmdclass=versioneer.get_cmdclass(),
53 url='https://leap.se/',
55 author='The LEAP Encryption Access Project',
56 author_email='info@leap.se',
57 description='Common files used by the LEAP project.',
59 "Common files used by the LEAP Client project."
61 classifiers=trove_classifiers,
62 namespace_packages=["leap"],
63 package_dir={'': 'src'},
64 # For now, we do not exclude tests because of the circular dependency
65 # between leap.common and leap.soledad.
66 #packages=find_packages('src', exclude=['leap.common.tests']),
67 packages=find_packages('src'),
68 test_suite='leap.common.tests',
69 install_requires=parsed_reqs,
70 #dependency_links=dependency_links,
71 tests_require=tests_requirements,
72 include_package_data=True