-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (27 loc) · 927 Bytes
/
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
import os
from setuptools import setup, Command, find_packages
def readme():
with open('README.rst') as f:
return f.read()
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')
setup(name = 'optlo_calc',
version = '0.1',
description = '''Code for Calculating Optical Loading or Transmission
through microwave optical chains''',
long_description = readme(),
author = 'Katie Harrington',
author_email = '[email protected]',
license = 'MIT',
packages = ['optlo_calc', 'optlo_calc.optics'],
package_dir = {'optlo_calc':'python'},
cmdclass={'clean':CleanCommand,},
#scripts = []
)