-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
60 lines (48 loc) · 1.28 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
58
59
60
#Uploading new versions to pypi:
#
#python setup.py sdist
#twine upload dist/*
#Username MAVENSDC
#################################
#Uploading new versions to conda:
##################################
#Note: You'll need to make sure cdflib is up to date on conda as well
#Run: conda skeleton pypi pytplot
#This should generate a meta.yaml file
#Edit the YAML file so that the requirements/about/extra look like this:
'''
requirements:
build:
- setuptools
- twine
- python
- pip
run:
- python
- numpy
- bokeh
- pandas
- matplotlib
- scipy
- xarray
- pyqtgraph
- cdflib
about:
home: "https://github.com/MAVENSDC/pytplot"
license: "MIT"
summary: "Pytplot is an effort to replicate the functionality IDL tplot library in python"
doc_url: "https://github.com/MAVENSDC/pytplot"
dev_url: "https://github.com/MAVENSDC/pyptlot"
extra:
recipe-maintainers:
- MAVENSDC
'''
#conda-build pytplot
#conda-build --python 3.6 pytplot
#conda-build --python 3.5 pytplot
#This should put stuff in C:/Anaconda/conda-bld
#conda convert -f --platform all /path/to/created/bundles/file.tar.bz2 -o /path/to/place/converted/files
#anaconda upload /path/to/created/or/converted/bundles/file.tar.bz2
#Username MAVENSDC
from setuptools import setup
setup()