forked from PlasmaPy/PlasmaPy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.35 KB
/
setup.py
File metadata and controls
39 lines (35 loc) · 1.35 KB
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
from setuptools import setup, find_packages
# Package metadata
metadata = {}
with open('plasmapy/_metadata.py', 'r') as metadata_file:
exec(metadata_file.read(), metadata)
# Requirements
with open('requirements/base.txt', 'r') as req_file:
requirements = req_file.read().splitlines()
setup(name=metadata['name'],
version=metadata['version'],
description="Python package for plasma physics",
requires=requirements,
install_requires=requirements,
provides=[metadata['name']],
author=metadata['author'],
author_email="namurphy@cfa.harvard.edu", # until we get an email address
license="BSD",
url="https://github.com/PlasmaPy/PlasmaPy", # until we make a webpage
long_description=metadata['description'],
keywords=['plasma', 'plasma physics', 'science'],
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Astronomy',
'Development Status :: 2 - Pre-Alpha',
],
packages=find_packages(),
zip_safe=False,
use_2to3=False,
python_requires='>=3.6',
)