Skip to content

Commit d518094

Browse files
authored
Restructure repo with a top-level packages/ directory (#1604)
* Restructure repo with a top-level `packages/` directory * Fix circle ci testing paths * Remove node_modules from git * Fix codegen paths * Fix test paths
0 parents  commit d518094

13 files changed

+64
-0
lines changed

LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016-2018 Plotly, Inc
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Whitespace-only changes.

_plotly_geo/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# https://packaging.python.org/guides/packaging-namespace-packages/
2+
# pkgutil-style-namespace-packages
3+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
548 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

setup.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
from setuptools import setup
2+
import os
3+
4+
5+
def readme():
6+
parent_dir = os.path.dirname(os.path.realpath(__file__))
7+
with open(os.path.join(parent_dir, 'README.md')) as f:
8+
return f.read()
9+
10+
11+
setup(
12+
name="plotly-geo",
13+
version="1.0.0a1",
14+
author="Chris P",
15+
author_email="chris@plot.ly",
16+
maintainer="Jon Mease",
17+
maintainer_email="jon@plot.ly",
18+
url="https://plot.ly/python/",
19+
project_urls={"Github": "https://github.com/plotly/plotly.py"},
20+
description="",
21+
long_description=readme(),
22+
long_description_content_type="text/markdown",
23+
classifiers=[
24+
"Development Status :: 5 - Production/Stable",
25+
"Programming Language :: Python :: 2",
26+
"Programming Language :: Python :: 2.7",
27+
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3.3",
29+
"Programming Language :: Python :: 3.4",
30+
"Programming Language :: Python :: 3.5",
31+
"Programming Language :: Python :: 3.6",
32+
"Programming Language :: Python :: 3.7",
33+
"Topic :: Scientific/Engineering :: Visualization",
34+
],
35+
license="MIT",
36+
packages=[
37+
"_plotly_geo",
38+
],
39+
package_data={'_plotly_geo': ['package_data/*']},
40+
)

0 commit comments

Comments
 (0)