Coverage for setup.py: 100%

11 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-12-18 09:33 +0000

1from setuptools import setup, find_packages 

2import os.path 

3 

4 

5def local_file(name): 

6 return os.path.relpath(os.path.join(os.path.dirname(__file__), name)) 

7 

8 

9# Get version number from _version.py 

10__version__ = None 

11with open(local_file("webgeodyn/_version.py")) as o: 

12 exec(o.read()) 

13assert __version__ is not None 

14 

15with open(local_file('AUTHORS.txt')) as authors_file: 

16 authors = authors_file.read().replace('\n', ', ') 

17 

18setup( 

19 name='webgeodyn', 

20 version=__version__, 

21 packages=find_packages(), 

22 author=authors, 

23 author_email='francois.dall-asta@univ-grenoble-alpes.fr', 

24 url='https://gricad-gitlab.univ-grenoble-alpes.fr/Geodynamo/webgeodyn', 

25 description="A web-based plot tool to visualize Earth core flows", 

26 long_description=open('README.rst').read(), 

27 long_description_content_type='text/x-rst', 

28 install_requires=["tornado", "numpy", "scipy>1.1", "h5py", "cdflib", "astropy"], 

29 test_suite="webgeodyn.tests", 

30 include_package_data=True, 

31 classifiers=[ 

32 'Programming Language :: Python :: 3 :: Only', 

33 'Programming Language :: Python :: 3.5', 

34 'Programming Language :: Python :: 3.6', 

35 'Programming Language :: Python :: 3.7', 

36 'Programming Language :: Python :: 3.8', 

37 'Programming Language :: Python :: 3.9', 

38 'Programming Language :: Python :: 3.10', 

39 'Programming Language :: JavaScript', 

40 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 

41 'Intended Audience :: Science/Research', 

42 'Intended Audience :: Education', 

43 'Topic :: Scientific/Engineering :: Physics', 

44 'Topic :: Scientific/Engineering :: Visualization' 

45 ] 

46) 

47