Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mkdocs-material
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Janne Mareike Koschinski
mkdocs-material
Commits
65d725f2
Commit
65d725f2
authored
8 years ago
by
squidfunk
Browse files
Options
Downloads
Patches
Plain Diff
Load package specs in setup.py from package.json
parent
040d3a30
Branches
Branches containing commit
Tags
1.0.2
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+13
-8
13 additions, 8 deletions
setup.py
with
13 additions
and
8 deletions
setup.py
+
13
−
8
View file @
65d725f2
...
...
@@ -18,18 +18,23 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
import
json
from
setuptools
import
setup
,
find_packages
# Load package.json contents
with
open
(
"
package.json
"
)
as
data
:
package
=
json
.
load
(
data
)
# Package description
setup
(
name
=
"
mkdocs-material
"
,
version
=
"
1.0.1
"
,
url
=
"
http://squidfunk.github.io/mkdocs-material/
"
,
license
=
"
MIT
"
,
description
=
"
A Material Design theme for MkDocs
"
,
author
=
"
Martin Donath
"
,
author_email
=
"
martin.donath@squidfunk.com
"
,
keywords
=
[
"
mkdocs
"
,
"
documentation
"
,
"
theme
"
],
name
=
package
[
"
name
"
]
,
version
=
package
[
"
version
"
]
,
url
=
package
[
"
homepage
"
]
,
license
=
package
[
"
license
"
]
,
description
=
package
[
"
description
"
]
,
author
=
package
[
"
author
"
][
"
name
"
]
,
author_email
=
package
[
"
author
"
][
"
email
"
]
,
keywords
=
package
[
"
keywords
"
],
packages
=
find_packages
(),
include_package_data
=
True
,
entry_points
=
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment