This repository was archived by the owner on Mar 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·52 lines (46 loc) · 1.39 KB
/
setup.py
File metadata and controls
executable file
·52 lines (46 loc) · 1.39 KB
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
#!/usr/bin/env python
import os
from setuptools import setup
__version__ = None
pth = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"libcflib",
"_version.py")
with open(pth, 'r') as fp:
exec(fp.read())
VERSION = __version__
install_file = os.path.join(os.path.dirname(__file__), "requirements", "run.txt")
with open(install_file) as f:
install_reqs = f.read()
install_reqs = install_reqs.split()
setup_kwargs = {
"name": "libcflib",
"packages": ["libcflib", "libcflib.rest"],
"package_dir": {
"libcflib": "libcflib",
"libcflib.rest": "libcflib/rest",
},
"package_data": {
"libcflib": ["*.xsh"],
"libcflib.rest": ["*.xsh"],
},
"long_description": open("README.md").read(),
"version": VERSION,
"description": "Library Conda Forge Library",
"license": "BSD 3-clause",
"author": "The Regro developers",
"author_email": "conda-forge@googlegroups.com",
"url": "https://github.com/regro/libcflib",
"download_url": "https://github.com/ergs/conda-forge/zipball/" + VERSION,
"classifiers": [
"License :: OSI Approved",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Topic :: Utilities",
],
"zip_safe": False,
"data_files": [("", ["LICENSE", "README.md"])],
"scripts": [],
"install_requires": install_reqs,
}
setup(**setup_kwargs)