Skip to content

Commit 074cbc9

Browse files
Improved project structure
1 parent f4e6043 commit 074cbc9

File tree

17 files changed

+52
-55
lines changed

17 files changed

+52
-55
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ jobs:
2424
# TODO: add windows-latest
2525
os: [ubuntu-latest, macos-latest]
2626
python: ['3.6', '3.7', '3.8', '3.9', 'pypy3']
27-
exclude:
28-
# pypy3 currently fails to run on Windows
29-
- os: windows-latest
30-
python: pypy3
3127
fail-fast: false
3228
runs-on: ${{ matrix.os }}
3329
steps:

MANIFEST.in

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
include __version__ README.md LICENSE flask_migrate/templates/flask/* \
2-
flask_migrate/templates/flask-multidb/* tests/*
3-
1+
include README.md
2+
include LICENSE
3+
include src/flask_migrate/templates/flask/*
4+
include src/flask_migrate/templates/flask-multidb/*
5+
include tests/*

__version__

Lines changed: 0 additions & 1 deletion
This file was deleted.

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[build-system]
2+
requires = [
3+
"setuptools>=42",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"

setup.cfg

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
[metadata]
2+
name = Flask-Migrate
3+
version = 3.0.2.dev0
4+
author = Miguel Grinberg
5+
author_email = [email protected]
6+
description = SQLAlchemy database migrations for Flask applications using Alembic.
7+
long_description = file: README.md
8+
long_description_content_type = text/markdown
9+
url = https://github.com/miguelgrinberg/flask-migrate
10+
project_urls =
11+
Bug Tracker = https://github.com/miguelgrinberg/flask-migrate/issues
12+
classifiers =
13+
Environment :: Web Environment
14+
Intended Audience :: Developers
15+
Programming Language :: Python :: 3
16+
License :: OSI Approved :: MIT License
17+
Operating System :: OS Independent
18+
19+
[options]
20+
zip_safe = False
21+
include_package_data = True
22+
package_dir =
23+
= src
24+
packages = find:
25+
python_requires = >=3.6
26+
install_requires =
27+
Flask >= 0.9
28+
Flask-SQLAlchemy >= 1.0
29+
alembic >= 0.7
30+
31+
[options.packages.find]
32+
where = src
33+
34+
[options.entry_points]
35+
flask.commands =
36+
db = flask_migrate.cli:db

setup.py

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
1-
"""
2-
Flask-Migrate
3-
--------------
1+
import setuptools
42

5-
SQLAlchemy database migrations for Flask applications using Alembic.
6-
"""
7-
from setuptools import setup
8-
9-
10-
VERSION = open('__version__').read().strip()
11-
12-
setup(
13-
name='Flask-Migrate',
14-
version=VERSION,
15-
url='http://github.com/miguelgrinberg/flask-migrate/',
16-
license='MIT',
17-
author='Miguel Grinberg',
18-
author_email='[email protected]',
19-
description=('SQLAlchemy database migrations for Flask applications '
20-
'using Alembic'),
21-
long_description=__doc__,
22-
packages=['flask_migrate'],
23-
zip_safe=False,
24-
include_package_data=True,
25-
platforms='any',
26-
install_requires=[
27-
'Flask>=0.9',
28-
'Flask-SQLAlchemy>=1.0',
29-
'alembic>=0.7'
30-
],
31-
entry_points={
32-
'flask.commands': [
33-
'db=flask_migrate.cli:db'
34-
],
35-
},
36-
classifiers=[
37-
'Environment :: Web Environment',
38-
'Intended Audience :: Developers',
39-
'License :: OSI Approved :: MIT License',
40-
'Operating System :: OS Independent',
41-
'Programming Language :: Python',
42-
'Programming Language :: Python :: 2',
43-
'Programming Language :: Python :: 3',
44-
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
45-
'Topic :: Software Development :: Libraries :: Python Modules'
46-
]
47-
)
3+
setuptools.setup()
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)