-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
58 lines (43 loc) · 1.1 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
55
56
57
from setuptools import setup, find_packages
'''
## Pushing to PyPi
https://pypi.python.org/pypi/pymapmanager
1. Make sure there is a `~/.pypirc` file
[distutils]
index-servers=pypi
[pypi]
username=your_username
password=your_password
2. [old] Update version in `PyMapManager/setup.py`
version='0.1.1',
3. Makes .tar.gz in `dist/`
python setup.py sdist
4. Push to PyPi website
python setup.py sdist upload
## Notes:
`requests` is required by pymapmanager.mmio
'''
exec (open('pymapmanager/version.py').read())
setup(
name='pymapmanager',
version=__version__,
description='Load, analyze, and visualize Map Manager files',
url='http://github.com/cudmore/PyMapManager',
author='Robert H Cudmore',
author_email='[email protected]',
license='GNU GPLv3',
packages = find_packages(),
#packages = find_packages(exclude=['version']),
#packages=[
# 'pymapmanager',
# 'pymapmanager.mmio'
#],
install_requires=[
"numpy",
"pandas",
"requests",
"scipy",
"tifffile",
"matplotlib"
]
)