forked from responsibleproblemsolving/energy-usage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (47 loc) · 1.36 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
NAME = "energyusage"
VERSION = "0.0.13"
DESCRIPTION = "Measuring the environmental impact of computation"
LONG_DESCRIPTION = long_description
LONG_DESCRIPTION_CONTENT_TYPE = 'text/markdown'
URL = "https://github.com/responsibleproblemsolving/energy-usage"
AUTHOR = "Sorelle Friedler, Kadan Lottick, Silvia Susai"
AUTHOR_EMAIL = "sorelle@cs.haverford.edu"
LICENSE = "Apache 2.0"
CLASSIFIERS = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
PACKAGES = ['energyusage']
PACKAGE_DATA = {
'energyusage.data.csv' : ['*.csv'],
'energyusage.data.json' : ['*.json']
}
INCLUDE_PACKAGE_DATA = True
PACKAGE_DIR = {
'energyusage.data' : 'data'
}
INSTALL_REQUIRES = [
'requests',
'reportlab'
]
setup(
name= NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type = LONG_DESCRIPTION_CONTENT_TYPE,
url=URL,
author=AUTHOR,
author_email = AUTHOR_EMAIL,
license = LICENSE,
classifiers=CLASSIFIERS,
packages = PACKAGES,
package_data = PACKAGE_DATA,
include_package_data = INCLUDE_PACKAGE_DATA,
package_dir = PACKAGE_DIR,
install_requires=INSTALL_REQUIRES
)