-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (34 loc) · 1.3 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
__author__ = "Christian Kongsgaard"
__license__ = "MIT"
# ---------------------------------------------------------------------------- #
# Imports
from setuptools import setup
from codecs import open
from os import path
import datetime
# ---------------------------------------------------------------------------- #
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
now = datetime.datetime.now()
release_version = '2'
version = f'{now.year}.{now.month}.{release_version}'
setup(
name='livestock',
version=version,
description='Livestock is a plugin/library for Grasshopper '
'written in Python',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/ocni-dtu/livestock',
author='Christian Kongsgaard',
author_email='[email protected]',
license='GNU GPLv3',
keywords='hydrology 3dmodeling grasshopper',
packages=['livestock', ],
install_requires=['scipy', 'numpy', 'paramiko', 'pyshp', 'shapely',
'cmf==1.2', 'xmltodict', 'dbfread', 'progressbar2'],
python_requires='>3.x',
#entry_points={'console_scripts': ['livestock=livestock:main', ], },
)