-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconanfile.py
54 lines (40 loc) · 1.74 KB
/
conanfile.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
42
43
44
45
46
47
48
49
50
51
52
53
# -*- coding: utf-8 -*-
import os
from conans import ConanFile, tools
class JSONConversionConan(ConanFile):
name = "python-jsonconversion"
license = "Simplified BSD License"
url = "https://rmc-github.robotic.dlr.de/common/python-jsonconversion"
homepage = "https://github.com/DLR-RM/python-jsonconversion"
description = "Convert arbitrary Python objects into JSON strings and back. "
topics = (
"Development Status :: 5 - Production/Stable",
"Framework :: Flask",
"Framework :: Django",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Object Brokering",
"Topic :: Utilities"
)
settings = "os", "arch"
# export everything in the directory that is not excluded by .gitignore
exports_sources = ["*", "!.gitignore"] + ["!%s" % x for x in tools.Git().excluded_files()]
generators = "virtualenv"
def build(self):
pass
def package(self):
self.copy("*", src="src", dst="site-packages")
self.copy("test/*")
self.copy("tox.ini")
self.copy("LICENSE")
def package_info(self):
self.env_info.PYTHONPATH.append(os.path.join(self.package_folder, "site-packages"))