-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·34 lines (29 loc) · 894 Bytes
/
setup.py
File metadata and controls
executable file
·34 lines (29 loc) · 894 Bytes
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
from setuptools import setup, Command
import os
class CleanCommand(Command):
"""
Custom clean command to tidy up the project root.
"""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
#def readme():
#with open('README.rst') as f:
#return f.read()
with open('requirements.txt') as f:
reqs = f.read().splitlines()
setup(name='CRRLpy',
version='0.1.0b',
description='Carbon Radio Recombination Line analysis',
#url='http://github.com/storborg/funniest',
author='Pedro Salas',
author_email='psalas@strw.leidenuniv.nl',
license='MIT',
packages=['crrlpy', 'crrlpy/models'],
zip_safe=False,
install_requires=reqs,
cmdclass={'clean':CleanCommand})