Skip to content

Commit

Permalink
Merge pull request #16 from slumnitz/fix-setuppy
Browse files Browse the repository at this point in the history
fix setup.py so files are installed with "pip install ."
  • Loading branch information
ljwolf authored Jun 28, 2018
2 parents b5a2703 + b7cdda5 commit e73f1a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include splot/tests/*.py
12 changes: 4 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
from setuptools import setup

try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py

setup(name='splot', #name of package
version='1.0.0dev',
version='1.0.0.dev0',
description= 'plotting for PySAL',
url= 'https://github.com/pysal/splot',
maintainer= 'Serge Rey',
Expand All @@ -27,8 +23,8 @@
'Programming Language :: Python :: 3.6'
],
license='3-Clause BSD',
packages=[],
packages=['splot'],
include_package_data=True,
install_requires=['numpy', 'scipy', 'libpysal', 'mapclassify', 'palettable',
'esda', 'pysal',],
zip_safe=False,
cmdclass = {'build.py':build_py})
zip_safe=False)

0 comments on commit e73f1a1

Please sign in to comment.