Skip to content

Commit

Permalink
Enhancing setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
masfaraud committed Oct 7, 2018
1 parent 1146c5e commit e8657a3
Showing 1 changed file with 13 additions and 23 deletions.
36 changes: 13 additions & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,17 @@ def readme():
return f.read()


def version_scheme(version):
return '.'.join([str(i) for i in version.tag._key[1]])


def local_scheme(version):
return ''


setup(name='bms',
use_scm_version={
'version_scheme': version_scheme,
'local_scheme': local_scheme},
setup_requires=['setuptools_scm'],
description='Block-Model Simulator for python',
long_description=readme(),
keywords='block model simulation simulator time',
url='http://github.com/masfaraud/BMSpy/wiki/',
author='Steven Masfaraud',
author_email='[email protected]',
license='Creative Commons Attribution-Share Alike license',
packages=['bms', 'bms.blocks', 'bms.signals', 'bms.physical'],
package_dir={'bms': 'bms'},
install_requires=['numpy', 'matplotlib>=2.0', 'networkx', 'dill'],
classifiers=['Topic :: Scientific/Engineering', 'Development Status :: 3 - Alpha'])
use_scm_version = True,
setup_requires = ['setuptools_scm'],
description = 'Block-Model Simulator for python',
long_description = readme(),
keywords = 'block model simulation simulator time',
url = 'http://github.com/masfaraud/BMSpy/wiki/',
author = 'Steven Masfaraud',
author_email = '[email protected]',
license = 'Creative Commons Attribution-Share Alike license',
packages = ['bms', 'bms.blocks', 'bms.signals', 'bms.physical'],
package_dir = {'bms': 'bms'},
install_requires = ['numpy', 'matplotlib>=2.0', 'networkx', 'dill'],
classifiers = ['Topic :: Scientific/Engineering', 'Development Status :: 3 - Alpha'])

0 comments on commit e8657a3

Please sign in to comment.