-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
49 lines (38 loc) · 1.49 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
import re
import os
from setuptools import setup, find_packages
package_name = 'pylidar'
try:
with open('requirements.txt') as f:
requirements = f.read().splitlines()
except FileNotFoundError:
requirements = []
try:
with open(os.path.join(os.path.dirname(__file__), package_name, '__init__.py')) as f:
version = re.search(r"__version__ = '(.*)'", f.read()).group(1)
except FileNotFoundError:
version = 'test'
classifiers = ['Development Status :: 3 - Alpha',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering',
]
setup(
name=package_name,
packages=find_packages(),
url='https://github.com/Ffisegydd/pylidar',
license='MIT',
author='Keiron J. Pizzey',
author_email='[email protected]',
description='Python package for loading LIDAR geospatial Digital Surface Models (DSM). Started as a project at the Bath:Hacked "Summers of Data" hack day.',
install_requirements=requirements,
classifiers=classifiers,
version=version
)