Skip to content

CLN: Replaced package list with find_packages #18632

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 1 commit into from
Dec 8, 2017
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion ci/environment-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ dependencies:
- python-dateutil>=2.5.0
- python=3
- pytz
- setuptools
- setuptools>=3.3
- sphinx
4 changes: 2 additions & 2 deletions ci/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ moto
pytest>=3.1
python-dateutil>=2.5.0
Copy link
Contributor

Choose a reason for hiding this comment

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

can you update in doc/source/install.rst as well

pytz
setuptools
sphinx
setuptools>=3.3
Copy link
Contributor

Choose a reason for hiding this comment

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

this is fine as this is a pretty old version. can you add this to the conda recipe as well.

Copy link
Contributor

Choose a reason for hiding this comment

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

can you update this?

Copy link
Member Author

Choose a reason for hiding this comment

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

What are you looking to have updated?

Copy link
Contributor

Choose a reason for hiding this comment

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

pandas/conda.recipe/meta.yml

sphinx
2 changes: 1 addition & 1 deletion conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ requirements:
- python
- cython
- numpy x.x
- setuptools
- setuptools >=3.3

run:
- python
Expand Down
2 changes: 1 addition & 1 deletion doc/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ installed), make sure you have `pytest
Dependencies
------------

* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__
* `setuptools <https://setuptools.readthedocs.io/en/latest/>`__: 3.3.0 or higher
* `NumPy <http://www.numpy.org>`__: 1.9.0 or higher
* `python-dateutil <//https://dateutil.readthedocs.io/en/stable/>`__: 2.5.0 or higher
* `pytz <http://pytz.sourceforge.net/>`__
Expand Down
1 change: 1 addition & 0 deletions doc/source/whatsnew/v0.22.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ Other API Changes
- :func:`Series.fillna` now raises a ``TypeError`` instead of a ``ValueError`` when passed a list, tuple or DataFrame as a ``value`` (:issue:`18293`)
- :func:`pandas.DataFrame.merge` no longer casts a ``float`` column to ``object`` when merging on ``int`` and ``float`` columns (:issue:`16572`)
- The default NA value for :class:`UInt64Index` has changed from 0 to ``NaN``, which impacts methods that mask with NA, such as ``UInt64Index.where()`` (:issue:`18398`)
- Refactored ``setup.py`` to use ``find_packages`` instead of explicitly listing out all subpackages (:issue:`18535`)

.. _whatsnew_0220.deprecations:

Expand Down
96 changes: 4 additions & 92 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import sys
import shutil
from distutils.version import LooseVersion
from setuptools import setup, Command
from setuptools import setup, Command, find_packages

# versioning
import versioneer
Expand Down Expand Up @@ -716,100 +716,12 @@ def pxd(name):
setup(name=DISTNAME,
maintainer=AUTHOR,
version=versioneer.get_version(),
packages=['pandas',
'pandas.api',
'pandas.api.types',
'pandas.compat',
'pandas.compat.numpy',
'pandas.core',
'pandas.core.dtypes',
'pandas.core.indexes',
'pandas.core.computation',
'pandas.core.reshape',
'pandas.core.sparse',
'pandas.core.tools',
'pandas.core.util',
'pandas.computation',
'pandas.errors',
'pandas.formats',
'pandas.io',
'pandas.io.json',
'pandas.io.sas',
'pandas.io.msgpack',
'pandas.io.formats',
'pandas.io.clipboard',
'pandas._libs',
'pandas._libs.tslibs',
'pandas.plotting',
'pandas.stats',
'pandas.types',
'pandas.util',
'pandas.tests',
'pandas.tests.api',
'pandas.tests.dtypes',
'pandas.tests.categorical',
'pandas.tests.computation',
'pandas.tests.sparse',
'pandas.tests.frame',
'pandas.tests.generic',
'pandas.tests.indexing',
'pandas.tests.indexes',
'pandas.tests.indexes.datetimes',
'pandas.tests.indexes.timedeltas',
'pandas.tests.indexes.period',
'pandas.tests.internals',
'pandas.tests.io',
'pandas.tests.io.json',
'pandas.tests.io.parser',
'pandas.tests.io.sas',
'pandas.tests.io.msgpack',
'pandas.tests.io.formats',
'pandas.tests.groupby',
'pandas.tests.reshape',
'pandas.tests.reshape.merge',
'pandas.tests.series',
'pandas.tests.scalar',
'pandas.tests.tseries',
'pandas.tests.tseries.offsets',
'pandas.tests.plotting',
'pandas.tests.tools',
'pandas.tests.util',
'pandas.tools',
'pandas.tseries',
],
package_data={'pandas.tests': ['data/*.csv'],
'pandas.tests.indexes': ['data/*.pickle'],
packages=find_packages(include=['pandas', 'pandas.*']),
package_data={'': ['data/*', 'templates/*'],
'pandas.tests.io': ['data/legacy_hdf/*.h5',
'data/legacy_pickle/*/*.pickle',
'data/legacy_msgpack/*/*.msgpack',
'data/*.csv*',
'data/*.dta',
'data/*.pickle',
'data/*.txt',
'data/*.xls',
'data/*.xlsx',
'data/*.xlsm',
'data/*.table',
'parser/data/*.csv',
'parser/data/*.gz',
'parser/data/*.bz2',
'parser/data/*.txt',
'parser/data/*.tar',
'parser/data/*.zip',
'parser/data/*.tar.gz',
'sas/data/*.csv',
'sas/data/*.xpt',
'sas/data/*.sas7bdat',
'data/*.html',
'data/html_encoding/*.html',
'json/data/*.json*'],
'pandas.tests.io.formats': ['data/*.csv'],
'pandas.tests.io.msgpack': ['data/*.mp'],
'pandas.tests.reshape': ['data/*.csv'],
'pandas.tests.reshape.merge': ['data/*.csv'],
'pandas.tests.tseries.offsets': ['data/*.pickle'],
'pandas.io.formats': ['templates/*.tpl']
},
'data/html_encoding/*.html']},
ext_modules=extensions,
maintainer_email=EMAIL,
description=DESCRIPTION,
Expand Down