generated from Pan6ora/ab-plugin-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (35 loc) · 1.19 KB
/
setup.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
# -*- coding: utf-8 -*-
import os
from setuptools import setup
packages = []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
accepted_filetypes = (".html", ".png", ".svg", ".js", ".css")
for dirpath, dirnames, filenames in os.walk("ab_plugin_scenariolink"):
# Ignore dirnames that start with '.'
if ('__init__.py' in filenames
or any(x.endswith(accepted_filetypes) for x in filenames)):
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
setup(
name="ab_plugin_scenariolink",
version="0.0.8",
packages=packages,
include_package_data=True,
author="Romain Sacchi, Marc van der Meide",
author_email="romain.sacchi@psi.ch, m.t.van.der.meide@cml.leidenuniv.nl",
license=open('LICENSE.txt').read(),
install_requires=[
"activity-browser >=2.9.7, <2.10",
"unfold >=1.2.0",
"datapackage",
"pandas",
"tqdm"
],
url="https://github.com/polca/ScenarioLink",
long_description=open('README.md').read(),
description="Activity Browser plugin to download scenario-based LCA databases ",
)