forked from TUDelft-CNS-ATM/bluesky
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
71 lines (62 loc) · 2.79 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Always prefer setuptools over distutils
from os import path
from setuptools import setup, find_packages
from codecs import open
import glob
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()
setup(
name='bluesky-simulator', # 'bluesky' package name already taken in PyPI
version='0.0.1.dev2',
description='The Open Air Traffic Simulator',
long_description=long_description,
url='https://github.com/ProfHoekstra/bluesky',
classifiers=[
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
# Pick your license as you wish
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
# This field adds keywords for your project which will appear on the
keywords='atm transport simulation aviation aircraft',
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
install_requires=open(here + '/requirements.txt', 'r').readlines(),
extras_require={
'dev': ['check-manifest'],
'test': ['coverage', 'flake8', 'radon', 'nose'],
},
include_package_data=True,
package_data={
'data': [f for f in glob.glob('data/**/*') if path.isfile(f)] + ['data/default.cfg']
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# `pip` to create the appropriate form of executable for the target
# platform.
data_files = [('/share/bluesky/data', [f for f in glob.glob('data/**/*') if path.isfile(f)
and path.basename(f) not in ('world.16384x8192.dds',
'world.8192x4096.dds')] + ['data/default.cfg']),
('/share/bluesky/plugins', [f for f in glob.glob('plugins/*.py') if path.isfile(f)]),
('/share/bluesky/utils', [f for f in glob.glob('utils/**/*') if path.isfile(f)])],
entry_points={
'console_scripts': [
'bluesky=BlueSky:main',
],
},
scripts=['BlueSky_pygame.py'],
project_urls={
'Source': 'https://github.com/ProfHoekstra/bluesky',
},
)