Skip to content

add traits #391

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 18, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions recipes/traits/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% set version = "4.5.0" %}

package:
name: traits
version: {{ version }}

source:
fn: traits-{{ version }}.tar.gz
url: https://pypi.python.org/packages/source/t/traits/traits-{{ version }}.tar.gz
md5: 3ad558eebaedc63c29c80183c0371d2f

build:
number: 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add script: python setup.py install here and remove build.sh and bld.bat.

Does this use setuptools?

script: python setup.py install --single-version-externally-managed --record record.txt

requirements:
build:
- python
- setuptools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please swap the order here? Have build requirements before run requirements. Also, a space between the two subsections would be nice.

run:
- python

test:
imports:
- traits

about:
home: http://code.enthought.com/projects/traits
license: BSD 3-clause
summary: traits - explicitly typed attributes for Python

extra:
recipe-maintainers:
- grlee77