-
Notifications
You must be signed in to change notification settings - Fork 25
/
setup_old.py
46 lines (41 loc) · 1.51 KB
/
setup_old.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
#! /usr/bin/python2
# -*- coding: utf-8; -*-
#
# (c) 2013 booya (http://booya.at)
#
# This file is part of the OpenGlider project.
#
# OpenGlider is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# OpenGlider is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenGlider. If not, see <http://www.gnu.org/licenses/>.
import os
from setuptools import setup
directory = os.path.dirname(__file__)
version_file = os.path.join(directory, 'openglider', 'version.py')
with open(version_file, 'r') as file:
file_content = file.read()
exec(file_content) # defines __version__
setup(
name='OpenGlider',
version=__version__,
description="tool for glider design",
packages=["openglider", "freecad.glider"],
license='GPL-v3',
# long_description=open('README.md').read(),
install_requires=["svgwrite", "numpy", "scipy",
"ezdxf", "ezodf", "lxml",
"pyexcel-ods", "meshpy"],
author='Booya',
url='www.openglider.org',
download_url=f"https://github.com/booya/OpenGlider/tarball/{__version__}",
include_package_data=True
)