Skip to content

Commit

Permalink
entry point moved to setup.py instead of meta.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
AtefBN authored and AtefBN committed Sep 25, 2020
1 parent 5969d1b commit fff3c81
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
6 changes: 2 additions & 4 deletions sdt/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "3.11" %}
{% set version = "3.12" %}

package:
name: synda
Expand All @@ -8,10 +8,8 @@ source:
path: ../.

build:
number: 10
number: 1
noarch: generic
entry_points:
- synda = synda:run

requirements:
host:
Expand Down
9 changes: 7 additions & 2 deletions sdt/setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
from setuptools import setup
import os

from setuptools import setup
setup(
name='synda',
scripts=[os.path.join('bin', f) for f in os.listdir('bin')],
include_package_data=True,
package_data={
'data': ['data_package/data.tar.gz'],
},
entry_points={
"console_scripts": [
"synda=synda:run"
]
},
url='https://github.com/Prodiguer/synda',
version='3.11',
version='3.12',
description='ESGF Data transfer Program',
long_description='This program download files from the Earth System Grid Federation (ESGF) '
'archive using command line.',
Expand Down

0 comments on commit fff3c81

Please sign in to comment.