Skip to content

Commit 0d6d624

Browse files
committed
Basic Cranko bootstrap
1 parent be4d834 commit 0d6d624

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

.config/cranko/bootstrap.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[[project]]
2+
qnames = [
3+
'pwkit',
4+
'pypa',
5+
]
6+
version = '1.1.0'

.config/cranko/config.toml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[repo]
2+
upstream_urls = [
3+
'[email protected]:pkgw/pwkit.git',
4+
'https://github.com/pkgw/pwkit.git',
5+
]
6+
7+
[npm]
8+
9+
[projects]

setup.py

100755100644
+4-11
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,15 @@
11
#! /usr/bin/env python
2-
# Copyright 2014-2018 Peter Williams <[email protected]> and collaborators.
2+
# Copyright 2014-2023 Peter Williams <[email protected]> and collaborators.
33
# Licensed under the MIT License.
44

55
# I don't use the ez_setup module because it causes us to automatically build
66
# and install a new setuptools module, which I'm not interested in doing.
77

88
from setuptools import setup
99

10-
dynamic_requires = []
11-
import sys
12-
13-
if sys.version_info[0] < 3:
14-
dynamic_requires.append("pathlib >= 1.0")
15-
1610
setup(
17-
name="pwkit",
18-
version="1.1.0.dev0", # also edit pwkit/__init__.py, docs/source/conf.py!
11+
name="pwkit", # cranko project-name
12+
version="0.dev0", # cranko project-version
1913
# This package actually *is* zip-safe, but I've run into issues with
2014
# installing it as a Zip: in particular, the install sometimes fails with
2115
# "bad local file header", and reloading a module after a reinstall in
@@ -42,8 +36,7 @@
4236
install_requires=[
4337
"numpy >= 1.6",
4438
"six >= 1.9",
45-
]
46-
+ dynamic_requires,
39+
],
4740
entry_points={
4841
"console_scripts": [
4942
"astrotool = pwkit.cli.astrotool:commandline",

0 commit comments

Comments
 (0)