-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (49 loc) · 1.68 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.1.66b'
package_name = 'PyOKNN'
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/*',
'data/tests/*',
'data/tests/subfolder/*',
'data/COLUMBUS/*',
'data/COLUMBUS.out/.szd/*',
'data/COLUMBUS.out/.szd/*',
]
},
description =(
"A spatial lag operator proposal implemented in Python27: "
"only the k-nearest neighbor (oknn), %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',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
],
keywords = [
'spatial econometrics',
'oknn specification',
'weight matrix',
],
install_requires = requires,
)