Skip to content

Commit 606fd7b

Browse files
committed
Adding metadata to setup script.
1 parent 41600ce commit 606fd7b

File tree

1 file changed

+35
-6
lines changed

1 file changed

+35
-6
lines changed

setup.py

Lines changed: 35 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,40 @@
22
"""Setup script for pompy package."""
33

44
from setuptools import setup
5+
from os import path
6+
from io import open
57

6-
if __name__ == '__main__':
7-
setup(name='pompy',
8-
description='Puff-based odour plume model',
9-
author='Matt Graham',
10-
url='https://github.com/InsectRobotics/pompy',
11-
packages=['pompy'])
128

9+
here = path.abspath(path.dirname(__file__))
10+
11+
with open(path.join(here, 'docs', 'description.rst'), encoding='utf-8') as fh:
12+
long_description = fh.read()
13+
14+
setup(
15+
name='pompy',
16+
version='0.1.0',
17+
description='Puff-based odour plume model',
18+
long_description=long_description,
19+
long_description_content_type='text/x-rst',
20+
author='Matt Graham',
21+
url='https://github.com/InsectRobotics/pompy',
22+
packages=['pompy'],
23+
install_requires=['numpy', 'scipy'],
24+
classifiers=[
25+
'Programming Language :: Python :: 2',
26+
'Programming Language :: Python :: 2.7',
27+
'Programming Language :: Python :: 3',
28+
'Programming Language :: Python :: 3.4',
29+
'Programming Language :: Python :: 3.5',
30+
'Programming Language :: Python :: 3.6',
31+
'Programming Language :: Python :: 3.7',
32+
'License :: OSI Approved :: MIT License',
33+
'Topic :: Scientific/Engineering',
34+
'Intended Audience :: Science/Research',
35+
],
36+
keywords='simulation plume navigation',
37+
project_urls={
38+
'Documentation': 'https://pompy-docs.readthedocs.io/en/latest/',
39+
'Source': 'https://github.com/InsectRobotics/pompy',
40+
}
41+
)

0 commit comments

Comments
 (0)