-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (49 loc) · 1.65 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
# -*- coding: utf8 -*-
from __future__ import absolute_import
from setuptools import setup
import pathlib as pa
import codecs as cd
package_version = '0.9.23'
package_name = 'PyLUCCBA'
with pa.Path('requirements.txt').open() as requirements:
requires = [l.strip() for l in requirements]
with cd.open('README.md', encoding='utf-8') as readme_f:
readme = readme_f.read()
setup(
license = 'MIT',
name = package_name,
version = package_version,
packages = [package_name],
package_data = {
package_name: [
'examples/*',
'examples/*/*',
'resources/*',
'resources/*/*',
'resources/*/*/*',
]
},
description =(
"A Land-Use-Change Cost-Benefit-Analysis "
"calculator coded in Python27&3, %s."%package_name
),
long_description = readme,
long_description_content_type = 'text/markdown',
author = 'Laurent Faucheux',
author_email = "[email protected]",
url = 'https://github.com/lfaucheux/%s'%package_name,
download_url = 'https://github.com/lfaucheux/{}/archive/{}.tar.gz'.format(package_name, package_version),
classifiers = [
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
],
keywords = [
'land use change',
'cost benefit analysis',
'environmental economics'
],
install_requires = requires,
)