Last active
April 12, 2018 06:52
-
-
Save cjw296/481b155fa63e3d48241add1946f389d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set data = load_setup_py_data() %} | |
package: | |
name: "{{ data['name'] }}" | |
version: "{{ data['version'] }}" | |
source: | |
path: . | |
build: | |
entry_points: | |
{% for script in data['entry_points']['console_scripts'] %} | |
- {{ script }} | |
{% endfor %} | |
script: python setup.py install | |
noarch: python | |
requirements: | |
build: | |
- python | |
{% for dep in data['extra_requires']['build'] %} | |
- {{ dep.lower() }} | |
{% endfor %} | |
run: | |
- python | |
test: | |
commands: | |
- picky -h | |
about: | |
summary: "{{ data['description'] }}" | |
description: "{{ data['description'] }}" | |
home: "{{ data['url'] }}" | |
license: "{{ data['license'] }}" | |
extra: | |
recipe-maintainers: "{{ data['author'] }} <{{ data['author_email'] }}>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from setuptools import setup, find_packages | |
base_dir = os.path.dirname(__file__) | |
description = "A tool for locking down your conda package usage." | |
setup( | |
name='picky-conda', | |
version='2.0.0dev', | |
author='Chris Withers', | |
author_email='[email protected]', | |
license='MIT', | |
description=description, | |
long_description=description, | |
url='https://github.com/Simplistix/picky-conda', | |
packages=find_packages(exclude=['tests']), | |
zip_safe=False, | |
include_package_data=True, | |
extras_require=dict( | |
test=[ | |
'coveralls', | |
'pytest', | |
], | |
build=['sphinx', 'pkginfo', 'setuptools-git', 'twine', 'wheel'] | |
), | |
entry_points = { | |
'console_scripts': [ | |
'picky = picky.main:main', | |
]} | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment