Skip to content

Commit

Permalink
update setup.py
Browse files Browse the repository at this point in the history
* updated metadata
* remove unused imports
* remove deprecated argument, see pypa/setuptools#2086
  • Loading branch information
JostMigenda committed Dec 13, 2021
1 parent 48a7c98 commit dba86d5
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
#!/usr/bin/env python
#
# Licensed under a 3-clause BSD style license - see LICENSE.rst
from __future__ import absolute_import, division, print_function
#
# Standard imports
#
from glob import glob

import os
import re
import sys
#
from distutils.command.sdist import sdist as DistutilsSdist
from setuptools import setup, find_packages
#

# Git-based version info. Remove?
#
from python.snewpy._git import get_version, SetVersion

#
# Begin setup
#
setup_keywords = dict()
#
setup_keywords['name'] = 'snewpy'
setup_keywords['description'] = 'SNEWS2 supernova simulation package'
setup_keywords['author'] = 'SNEWS2 Collaboration'
setup_keywords['description'] = 'A Python package for working with supernova neutrinos'
setup_keywords['author'] = 'SNEWS Collaboration'
setup_keywords['author_email'] = '[email protected]'
setup_keywords['license'] = 'BSD'
setup_keywords['url'] = 'https://github.com/SNEWS2/supernova_models'
setup_keywords['url'] = 'https://github.com/SNEWS2/snewpy'
setup_keywords['version'] = get_version()
#
# Use README.md as a long_description.
Expand All @@ -45,7 +38,6 @@
setup_keywords['provides'] = [setup_keywords['name']]
setup_keywords['requires'] = ['Python (>3.3.0)']
setup_keywords['zip_safe'] = False
setup_keywords['use_2to3'] = False
setup_keywords['packages'] = find_packages('python')
setup_keywords['package_dir'] = {'': 'python'}
setup_keywords['package_data'] = {'':['templates/*.glb']}
Expand Down

0 comments on commit dba86d5

Please sign in to comment.