forked from clairemcwhite/vcmsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·33 lines (29 loc) · 1.05 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
from setuptools import setup, find_packages
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext
import unittest
def my_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='*_test.py')
return test_suite
print(find_packages(where = 'src'))
setup(name='vcmsa',
version='0.1.0',
description='Python library to perform vcmsa',
url='http://github.com/clairemcwhite/vcmsa',
author='Claire D. McWhite',
author_email='cmcwhite@princeton.edu',
license='MIT',
scripts=['bin/vcmsa'],
package_dir={'':'src'},
packages =find_packages (where = "src"),# (include = ['vcmsa', 'vcmsa.*']),
#packages = find_packages(),
#packages = ['vcmsa.' + pkg for pkg in find_packages('src/')],
#packages=['vcmsa', 'vcmsa_embed'],
#py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
test_suite='setup.my_test_suite'
)