Skip to content

Commit

Permalink
Fix itgnore and setup.py file.
Browse files Browse the repository at this point in the history
Add a makefile cause python packaging sucks.
  • Loading branch information
Carreau committed Dec 8, 2014
1 parent 47862f4 commit 73d1214
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .gitignore
Expand Up @@ -35,12 +35,15 @@ nosetests.xml
.project
.pydevproject

<<<<<<< HEAD
.ropeproject
=======
# PyCharm
.idea/*

# Test files
*test.py
>>>>>>> mad4alcohol/win-support

# created by distutils during build process
MANIFEST

# Mac Os
.DS_Store
22 changes: 22 additions & 0 deletions Makefile
@@ -0,0 +1,22 @@
# Yes python packaging sucks.
# I hope that a makefile
# will help everyone to update the pakage.
# don't foret to bump the version number in setup.py

.PHONY: dist

clean:
rm -rf build
rm -rf dist

dist: clean
# source distribution
python3 setup.py sdist
# 'compiled' distribution
# you mignt need to `pip3 install wheel`
python3 setup.py bdist_wheel

upload: dist
# upload to Python package index`
twine upload dist/*

2 changes: 2 additions & 0 deletions setup.cfg
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
24 changes: 23 additions & 1 deletion setup.py
Expand Up @@ -2,13 +2,35 @@
"""Julia/Python bridge with IPython support.
"""

from distutils.core import setup
from setuptools import setup

setup(name='julia',
version='0.1.1',
description=__doc__,
author='The Julia and IPython development teams.',
author_email='julia@julialang.org',
license='MIT',
keywords='julia python',
classifiers=[
# Bug for now, I cannot upload if more than 1 classifier
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
#'Development Status :: 3 - Alpha',

# Indicate who your project is intended for
#'Intended Audience :: Developers',

'License :: OSI Approved :: MIT License',

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
#'Programming Language :: Python :: 2',
#'Programming Language :: Python :: 2.7',
#'Programming Language :: Python :: 3',
#'Programming Language :: Python :: 3.4',
],
url='http://julialang.org',
packages=['julia'],
)

0 comments on commit 73d1214

Please sign in to comment.