-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (43 loc) · 1.31 KB
/
setup.py
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
from setuptools import setup, Command
class my_clean(Command):
description = "Removes the generated files from the directory"
user_options = []
def initialize_options(self):
pass
def run(self):
import os
import shutil
try:
os.remove('MANIFEST')
except:
pass
dirs = ['peakutils/__pycache__', 'PeakUtils.egg-info', 'build', 'dist']
for dir in dirs:
shutil.rmtree(dir, True)
def finalize_options(self):
pass
with open('README.rst') as readme:
long_description = readme.read()
setup(
name='PeakUtils',
version='1.1.0',
description='Peak detection utilities for 1D data',
author='Lucas Hermann Negri',
author_email='[email protected]',
url='https://bitbucket.org/lucashnegri/peakutils',
packages=['peakutils'],
install_requires=['numpy', 'scipy'],
cmdclass={
'clean': my_clean,
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
],
license='MIT',
test_suite='tests',
keywords='peak detection search gaussian centroid baseline maximum',
)